*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:#101828;background:#fff;line-height:1.55}a{color:inherit}img{max-width:100%;display:block}.shell{width:min(calc(100% - 40px),1440px);margin:auto}.site-header{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--dark) 95%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08);color:#fff}.header-inner{height:74px;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-weight:900}.brand img{height:42px;width:auto}.site-nav{display:flex;gap:24px;margin-left:auto}.site-nav a{text-decoration:none;color:#d4deea;font-size:.94rem}.header-cta{white-space:nowrap}.nav-toggle{display:none}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;background:var(--accent);border:1px solid var(--accent);border-radius:11px;color:#fff;text-decoration:none;font-weight:850}.button.ghost{background:transparent;border-color:rgba(255,255,255,.32)}.button.small{min-height:40px}.hero{background:radial-gradient(circle at 75% 50%,color-mix(in srgb,var(--dark) 68%,white) 0,color-mix(in srgb,var(--dark) 84%,black) 34%,color-mix(in srgb,var(--dark) 94%,black) 70%);color:#fff;padding:96px 0}.hero-grid,.split{display:grid;grid-template-columns:1.2fr .8fr;gap:70px;align-items:center}.eyebrow{color:var(--accent);text-transform:uppercase;letter-spacing:.15em;font-weight:900;font-size:.76rem}.hero h1,.section h2{font-size:clamp(2.6rem,5vw,5.8rem);line-height:.95;letter-spacing:-.055em;margin:16px 0 22px}.hero p{max-width:760px;font-size:1.15rem;color:#cbd6e5}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero-card{padding:30px;border-radius:22px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.13)}.hero-card small{display:block;text-transform:uppercase;letter-spacing:.1em;color:#9fb2ca;margin-bottom:7px}.hero-card hr{border:0;border-top:1px solid rgba(255,255,255,.12);margin:22px 0}.chips{display:flex;flex-wrap:wrap;gap:8px}.chips span{padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.08);font-size:.86rem}.section{padding:88px 0}.dark-section{background:var(--dark);color:#fff}.soft-section{background:#f4f7fb}.contact-section{background:linear-gradient(135deg,color-mix(in srgb,var(--dark) 92%,black),color-mix(in srgb,var(--dark) 72%,white));color:#fff}.section-head{margin-bottom:32px}.section h2{font-size:clamp(2.2rem,4vw,4.2rem)}.section p{color:#667085}.dark-section p,.contact-section p{color:#cbd6e5}.cards{display:grid;gap:22px}.cards-3{grid-template-columns:repeat(3,1fr)}.cards-2{grid-template-columns:repeat(2,1fr)}.card,.text-card{background:#fff;border:1px solid #e4e7ec;border-radius:18px;overflow:hidden;box-shadow:0 14px 36px rgba(16,24,40,.06)}.card>img{width:100%;aspect-ratio:4/3;object-fit:cover}.card-body,.text-card{padding:22px}.card h3,.text-card h3{font-size:1.3rem;line-height:1.2;margin:7px 0 10px}.card small,.text-card small{color:var(--accent);font-weight:900;text-transform:uppercase;letter-spacing:.06em}.card a,.text-card a{color:var(--accent);font-weight:850;text-decoration:none}.horizontal{display:grid;grid-template-columns:240px 1fr}.horizontal>img{height:100%;aspect-ratio:auto;min-height:260px}.feature-list{border-left:1px solid rgba(255,255,255,.14)}.feature-list div{padding:17px 24px;border-bottom:1px solid rgba(255,255,255,.12);font-weight:760}.contact-actions{justify-content:flex-end}.site-footer{background:color-mix(in srgb,var(--dark) 88%,black);color:#c4ceda;padding:60px 0 24px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:40px}.footer-grid strong{display:block;color:#fff;margin-bottom:12px}.footer-brand{font-size:1.35rem}.footer-grid span,.footer-grid a{display:block;margin:5px 0;text-decoration:none}.footer-bottom{display:flex;justify-content:space-between;gap:20px;padding-top:20px;margin-top:38px;border-top:1px solid rgba(255,255,255,.1);font-size:.86rem}@media(max-width:980px){.header-cta{display:none}.nav-toggle{display:grid;margin-left:auto;width:44px;height:44px;place-content:center;gap:5px;background:transparent;border:0}.nav-toggle span{display:block;width:22px;height:2px;background:#fff}.site-nav{display:none;position:absolute;top:74px;left:0;right:0;background:var(--dark);padding:20px;flex-direction:column}.site-nav.is-open{display:flex}.hero-grid,.split{grid-template-columns:1fr}.cards-3{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.contact-actions{justify-content:flex-start}}@media(max-width:680px){.shell{width:min(calc(100% - 28px),1440px)}.hero{padding:64px 0}.cards-3,.cards-2,.footer-grid{grid-template-columns:1fr}.horizontal{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.section{padding:64px 0}}
.detail-hero{padding:72px 0 84px;background:linear-gradient(180deg,#f8fafc,#fff)}
.detail-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:64px;align-items:center}
.detail-copy h1{font-size:clamp(2.8rem,5vw,5.5rem);line-height:.96;letter-spacing:-.055em;margin:14px 0 24px}
.detail-lead{font-size:1.18rem;color:#475467;max-width:760px}
.detail-back{display:inline-block;margin-bottom:28px;color:#475467;text-decoration:none;font-weight:750}
.detail-media{border-radius:22px;overflow:hidden;background:#eef2f6;border:1px solid #e4e7ec}
.detail-media img{width:100%;height:auto;min-height:420px;object-fit:cover}
.detail-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#e4e7ec;border:1px solid #e4e7ec;border-radius:14px;overflow:hidden;margin:30px 0}
.detail-facts div{background:#fff;padding:17px}
.detail-facts dt{font-size:.72rem;text-transform:uppercase;letter-spacing:.09em;color:#667085;font-weight:850}
.detail-facts dd{margin:5px 0 0;font-weight:900}
.detail-article{border-top:1px solid #e4e7ec;margin-top:30px;padding-top:24px;max-width:760px}
.detail-article h2{font-size:1.55rem;letter-spacing:-.025em;margin:0 0 12px}
.detail-related{border-top:1px solid #eaecf0}
.detail-links{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.detail-links a{padding:22px;border:1px solid #e4e7ec;border-radius:15px;text-decoration:none;background:#fff}
.detail-links strong,.detail-links span{display:block}.detail-links span{margin-top:6px;color:#667085}
.dark-ghost{border-color:#cfd6df!important;color:#101828!important}
.selected-material{margin:26px 0;padding:18px;border:1px solid #dfe4ea;border-radius:14px;background:#fff}
.selected-material small,.selected-material strong,.selected-material span{display:block}.selected-material small{color:#667085;text-transform:uppercase;letter-spacing:.08em}.selected-material strong{font-size:1.2rem;margin:4px 0}
.feature-list-light{border:1px solid #e4e7ec;border-radius:14px;overflow:hidden;margin-top:24px;background:#fff}
.feature-list-light div{color:#101828;border-bottom:1px solid #e4e7ec}
.detail-visual-placeholder{min-height:420px;border-radius:22px;background:#07111f;color:#fff;display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;padding:40px;text-align:center}
.detail-visual-placeholder strong{font-size:1.3rem}.detail-visual-placeholder span{color:var(--accent);font-size:2rem}
@media(max-width:900px){.detail-grid{grid-template-columns:1fr}.detail-links{grid-template-columns:1fr}.detail-facts{grid-template-columns:1fr}.detail-media img{min-height:280px}}

/* Dynamic Action Apps profile media */
.hero.hero-has-image{position:relative;background:
  linear-gradient(90deg,color-mix(in srgb,var(--dark) 96%,transparent) 0%,color-mix(in srgb,var(--dark) 88%,transparent) 42%,color-mix(in srgb,var(--dark) 34%,transparent) 72%,color-mix(in srgb,var(--dark) 18%,transparent) 100%),
  var(--profile-header-image) center/cover no-repeat}
.hero.hero-has-image .hero-grid{position:relative;z-index:1}
.hero.hero-has-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,color-mix(in srgb,var(--dark) 34%,transparent));pointer-events:none}
.footer-logo{max-width:180px;max-height:70px;object-fit:contain;margin-bottom:14px}
.hero{position:relative;overflow:hidden}.hero-gallery,.hero-gallery-shade{position:absolute;inset:0}.hero-gallery-slide{position:absolute;inset:0;background:center/cover no-repeat;opacity:0;transition:opacity .5s ease}.hero-gallery-slide.active{opacity:1}.hero-gallery-shade{background:linear-gradient(90deg,color-mix(in srgb,var(--dark) 96%,transparent) 0%,color-mix(in srgb,var(--dark) 88%,transparent) 45%,color-mix(in srgb,var(--dark) 35%,transparent) 75%,color-mix(in srgb,var(--dark) 20%,transparent) 100%)}.hero.hero-has-images .hero-grid{position:relative;z-index:2}.hero-dots{position:absolute;z-index:3;left:50%;bottom:20px;transform:translateX(-50%);display:flex;gap:7px}.hero-dots button{width:9px;height:9px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.45);cursor:pointer}.hero-dots button.active{width:26px;background:#fff}.about-lead{font-size:1.1rem}.about-copy{padding-top:20px;border-top:1px solid #dfe3e8;margin-top:24px}.about-copy h3{margin:0 0 8px}.about-facts{display:grid;gap:12px}.about-facts>div{padding:20px;background:#fff;border:1px solid #e4e7ec;border-radius:15px}.about-facts small,.about-facts strong{display:block}.about-facts small{color:#667085;text-transform:uppercase;font-size:.72rem;font-weight:900;letter-spacing:.08em;margin-bottom:5px}

/* Multi-page result and collapse/expand rules */
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.section-more,.text-action{color:var(--accent);font-weight:850;text-decoration:none}
.section-more{white-space:nowrap;margin-bottom:8px}
.section-more-bottom{display:flex;justify-content:center;margin-top:30px}
.card h3 a,.text-card h3 a{text-decoration:none;color:inherit}
.card-image-link{display:block;overflow:hidden}
.card-image-link img{transition:transform .25s ease}
.card-image-link:hover img{transform:scale(1.02)}

.list-hero{padding:64px 0 34px;background:#f8fafc;border-bottom:1px solid #e4e7ec}
.list-hero h1{font-size:clamp(2.6rem,5vw,5rem);line-height:.95;letter-spacing:-.05em;margin:12px 0}
.list-hero p{color:#667085}
.list-results{padding-top:48px}
.list-card .card-body{min-height:230px;display:flex;flex-direction:column}
.list-card .text-action{margin-top:auto}

.expand-panel{border:1px solid #e4e7ec;border-radius:14px;background:#fff;margin:18px 0;overflow:hidden}
.expand-panel summary{cursor:pointer;list-style:none;padding:17px 20px;font-weight:900;display:flex;align-items:center;justify-content:space-between;gap:20px}
.expand-panel summary::-webkit-details-marker{display:none}
.expand-panel summary:after{content:"+";font-size:1.4rem;line-height:1;color:var(--accent)}
.expand-panel[open] summary:after{content:"−"}
.expand-panel[open] summary{border-bottom:1px solid #e4e7ec}
.expand-panel__body{padding:20px}
.expand-panel .detail-facts{margin:0}
.clean-list{margin:0;padding-left:20px}.clean-list li{margin:7px 0}
.detail-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.detail-gallery img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}
.detail-price{font-size:1.7rem;font-weight:900;color:#101828;margin:0 0 12px}

@media(max-width:760px){
  .section-head{align-items:flex-start;flex-direction:column}
  .section-more{white-space:normal}
  .detail-gallery{grid-template-columns:1fr}
}

/* Entire result cards are actionable while retaining accessible text links. */
.card,.text-card{position:relative}
.card .card-body a,.text-card a,.card-image-link{position:relative;z-index:2}

/* Contextual section CTA */
.content-cta{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:34px;align-items:start;margin-top:42px;padding:28px;border:1px solid #e4e7ec;border-radius:18px;background:#fff}
.content-cta__copy h3{font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.02;letter-spacing:-.035em;margin:8px 0 12px}
.content-cta__copy p{margin:0 0 20px;color:#667085}
.content-cta__list{border-left:1px solid #e4e7ec;padding-left:28px}
.content-cta__list small{display:block;margin-bottom:9px;color:#667085;text-transform:uppercase;letter-spacing:.09em;font-weight:900}
.content-cta__list div{padding:9px 0;border-bottom:1px solid #eef0f2;font-weight:800}
.dark-section .content-cta{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.14)}
.dark-section .content-cta__copy p,.dark-section .content-cta__list small{color:#cbd6e5}
.dark-section .content-cta__list{border-left-color:rgba(255,255,255,.14)}
.dark-section .content-cta__list div{border-bottom-color:rgba(255,255,255,.12);color:#fff}
@media(max-width:760px){.content-cta{grid-template-columns:1fr}.content-cta__list{border-left:0;border-top:1px solid #e4e7ec;padding-left:0;padding-top:20px}.dark-section .content-cta__list{border-top-color:rgba(255,255,255,.14)}}

/* Route-aware responsive navigation */
.mobile-nav-toggle{display:none;width:42px;height:42px;border:1px solid #e4e7ec;background:#fff;border-radius:10px;align-items:center;justify-content:center;flex-direction:column;gap:4px;cursor:pointer}
.mobile-nav-toggle span{display:block;width:19px;height:2px;background:#101828;border-radius:2px}
.site-nav{display:flex;align-items:center;gap:20px}
.site-nav>a:not(.button){text-decoration:none;color:inherit;font-weight:700}
@media(max-width:860px){
  .mobile-nav-toggle{display:flex}
  .site-nav{display:none;position:absolute;left:20px;right:20px;top:calc(100% + 8px);z-index:100;background:#fff;border:1px solid #e4e7ec;border-radius:14px;padding:14px;box-shadow:0 18px 50px rgba(16,24,40,.14);flex-direction:column;align-items:stretch;gap:4px}
  .site-nav.is-open{display:flex}
  .site-nav>a{padding:11px 12px;border-radius:8px}
  .site-nav .header-cta{text-align:center;margin-top:6px}
  .site-header .header-inner{position:relative}
}

/* Standard Action Apps contact form */
.contact-layout{
  display:grid;
  grid-template-columns:minmax(240px,.72fr) minmax(0,1.28fr);
  gap:clamp(32px,5vw,72px);
  align-items:start;
}
.contact-intro{
  position:sticky;
  top:110px;
  max-width:430px;
}
.contact-intro h2{
  margin:8px 0 14px;
}
.contact-intro p{
  margin:0;
  max-width:38ch;
}
.contact-form-column{
  min-width:0;
}
.standard-contact-frame{
  display:block;
  width:100%;
  min-height:620px;
  border:0;
  margin:0;
  background:transparent;
}
@media(max-width:760px){
  .contact-layout{
    grid-template-columns:1fr;
    gap:22px;
  }
  .contact-intro{
    position:static;
    max-width:none;
  }
  .contact-intro p{
    max-width:48ch;
  }
  .standard-contact-frame{
    min-height:700px;
  }
}

.inventory-connect{grid-template-columns:1fr}
.inventory-connect .content-cta__copy{max-width:760px}

/* Experience filter links */
.experience-links{display:flex;flex-direction:column;gap:10px}
.experience-link-list{display:flex;flex-wrap:wrap;gap:8px}
.experience-link-list a{display:inline-flex;align-items:center;padding:8px 11px;border:1px solid #e4e7ec;border-radius:999px;text-decoration:none;color:inherit;font-weight:800;background:#fff}
.experience-link-list a:hover{border-color:var(--accent);color:var(--accent)}

/* Expertise section linked specialties/capabilities */
.experience-inline{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;margin:18px 0 30px;padding:14px 0;border-top:1px solid #e4e7ec;border-bottom:1px solid #e4e7ec}
.experience-inline>strong{font-size:.88rem;text-transform:uppercase;letter-spacing:.08em}
.experience-inline__links{display:flex;flex-wrap:wrap;gap:7px}
.experience-inline__links a,.content-cta__list a{color:inherit;text-decoration:none;font-weight:800}
.experience-inline__links a:hover,.content-cta__list a:hover{color:var(--accent)}
.experience-inline__links span{opacity:.45}

/* Expand/collapse long copy */
.expandable-copy{line-height:1.65}
.expandable-copy__toggle{display:inline;border:0;background:transparent;padding:0;margin-left:5px;color:var(--accent);font:inherit;font-weight:850;cursor:pointer;text-decoration:underline;text-underline-offset:2px}
.dark-section .expandable-copy__toggle{color:#fff}

/* Hero long-copy expansion */
.hero-bio{max-width:780px;margin:18px 0 0;font-size:1.06rem;line-height:1.7}
.hero-bio [data-expand-short],.hero-bio [data-expand-full]{display:inline}
.hero-bio .expandable-copy__toggle{display:inline;margin-left:6px;color:inherit;border:0;background:transparent;padding:0;font:inherit;font-weight:900;text-decoration:underline;text-underline-offset:3px;cursor:pointer}

/* Hero profile summary + clickable image thumbnails */
.hero-profile-gallery{
  position:relative;
  overflow:hidden;
}
.hero-gallery-background,
.hero-gallery-background-slide,
.hero-gallery-background-shade{
  position:absolute;
  inset:0;
}
.hero-gallery-background{
  z-index:0;
}
.hero-gallery-background-slide{
  opacity:0;
  transition:opacity 1.1s ease-in-out;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.hero-gallery-background-slide.active{opacity:1}
.hero-gallery-background-shade{
  z-index:1;
  background:linear-gradient(90deg,color-mix(in srgb,var(--dark) 88%,transparent),color-mix(in srgb,var(--dark) 58%,transparent) 58%,color-mix(in srgb,var(--dark) 38%,transparent));
}
.hero-profile-gallery .hero-grid{
  position:relative;
  z-index:2;
  align-items:center;
}
.hero-profile-gallery .hero-copy{
  max-width:760px;
}
.hero-thumbnails{
  display:grid;
  grid-template-columns:repeat(2,200px);
  gap:12px;
  justify-content:end;
}
.hero-thumbnail{
  width:200px;
  height:150px;
  padding:0;
  border:1px solid rgba(255,255,255,.18);
  border-radius:12px;
  overflow:hidden;
  background:rgba(0,0,0,.24);
  cursor:pointer;
  opacity:.8;
}
.hero-thumbnail.active{
  opacity:1;
  outline:2px solid rgba(255,255,255,.9);
  outline-offset:2px;
}
.hero-thumbnail img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero-gallery-modal[hidden]{display:none}
.hero-gallery-modal{
  position:fixed;
  inset:0;
  z-index:5000;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:rgba(0,0,0,.92);
  padding:28px;
}
.gallery-open{overflow:hidden}
.hero-gallery-close{
  position:absolute;
  top:18px;
  right:22px;
  width:44px;
  height:44px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:2rem;
  line-height:1;
  cursor:pointer;
}
.hero-gallery-stage{
  display:grid;
  grid-template-columns:54px minmax(0,1fr) 54px;
  gap:18px;
  align-items:center;
  width:min(1200px,100%);
  margin:0 auto;
}
.hero-gallery-stage img{
  display:block;
  width:100%;
  max-height:72vh;
  object-fit:contain;
  border-radius:12px;
}
.hero-gallery-nav{
  width:48px;
  height:48px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:2.4rem;
  cursor:pointer;
}
.hero-gallery-strip{
  display:flex;
  gap:10px;
  justify-content:center;
  overflow:auto;
  width:min(1000px,100%);
  margin:18px auto 0;
  padding:4px;
}
.hero-gallery-strip-thumb{
  width:100px;
  height:75px;
  padding:0;
  border:1px solid rgba(255,255,255,.18);
  border-radius:8px;
  overflow:hidden;
  opacity:.62;
  background:transparent;
  cursor:pointer;
}
.hero-gallery-strip-thumb.active{
  opacity:1;
  outline:2px solid #fff;
}
.hero-gallery-strip-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

@media(max-width:980px){
  .hero-thumbnails{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch}
  .hero-thumbnail{width:100%;height:auto;aspect-ratio:4/3}
}
@media(max-width:720px){
  .hero-profile-gallery .hero-grid{grid-template-columns:1fr}
  .hero-thumbnails{margin-top:24px}
  .hero-gallery-stage{grid-template-columns:42px minmax(0,1fr) 42px;gap:8px}
  .hero-gallery-nav{width:40px;height:40px;font-size:1.8rem}
}


.hero-copy h1.hero-heading-long{font-size:clamp(2.25rem,4.15vw,4.85rem)}

/* Compact linked footer */
.site-footer .footer-grid-compact{
  grid-template-columns:minmax(0,1.45fr) minmax(260px,.9fr) minmax(190px,.55fr);
  gap:42px;
  align-items:start;
}
.site-footer .footer-logo.footer-logo-large{
  width:auto;
  height:auto;
  max-width:min(420px,100%);
  max-height:180px;
  object-fit:contain;
  display:block;
  margin-bottom:18px;
}
.site-footer .footer-summary{
  max-width:720px;
  margin:10px 0 16px;
}
.footer-expertise-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
}
.footer-expertise-links a{
  text-decoration:none;
  font-weight:700;
}
.footer-service-bubbles{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  align-content:flex-start;
}
.footer-service-bubble{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.06);
  color:inherit;
  text-decoration:none;
  line-height:1.15;
}
.footer-service-bubble:hover{
  background:rgba(255,255,255,.11);
  border-color:rgba(255,255,255,.28);
}
.footer-contact-inline{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-contact-inline a{
  color:inherit;
  text-decoration:none;
}
.footer-contact-inline a:hover,
.footer-expertise-links a:hover{
  text-decoration:underline;
}

@media(max-width:900px){
  .site-footer .footer-grid-compact{
    grid-template-columns:1fr 1fr;
  }
  .footer-profile{grid-column:1/-1}
}
@media(max-width:620px){
  .site-footer .footer-grid-compact{
    grid-template-columns:1fr;
    gap:28px;
  }
  .footer-profile{grid-column:auto}
  .site-footer .footer-logo.footer-logo-large{
    max-width:min(320px,100%);
    max-height:150px;
  }
}

/* Global image radius */
.site-header img,
.hero-profile-gallery img,
.section img,
.list-results img,
.site-footer img,
.card img,
.text-card img,
.detail-page img,
.standard-contact-frame{
  border-radius:5px;
}

/* Mobile nav final fix */
@media(max-width:860px){
  .site-header .header-inner{
    display:flex;
    align-items:center;
    position:relative;
  }

  .site-header .brand{
    flex:0 1 auto;
    min-width:0;
  }

  .mobile-nav-toggle{
    display:flex;
    margin-left:auto;
    flex:0 0 42px;
    order:99;
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.20);
  }

  .mobile-nav-toggle span{
    background:#fff;
  }

  .site-header .site-nav{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    z-index:1000;
    margin:0;
    padding:12px;
    flex-direction:column;
    align-items:stretch;
    gap:3px;
    background:#07111f;
    color:#fff;
    border:1px solid rgba(255,255,255,.14);
    border-radius:12px;
    box-shadow:0 18px 50px rgba(0,0,0,.28);
  }

  .site-header .site-nav.is-open{
    display:flex;
  }

  .site-header .site-nav > a:not(.button){
    display:block;
    width:100%;
    padding:12px;
    color:#fff;
    background:transparent;
    border-radius:7px;
  }

  .site-header .site-nav > a:not(.button):hover,
  .site-header .site-nav > a:not(.button):focus{
    color:#fff;
    background:rgba(255,255,255,.08);
  }

  .site-header .site-nav .header-cta{
    width:100%;
    margin-top:5px;
    text-align:center;
  }
}

/* =========================================================
   Inventory media + StoneShopPro material preview popovers
   Narrow additive patch: preserves existing card layout.
   ========================================================= */
.card-image-link{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  overflow:hidden;
  background:#eef2f6;
}
.card-image-link img{
  display:block;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  object-position:center;
}
.material-preview-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}
.material-preview-action{
  appearance:none;
  min-height:38px;
  padding:0 13px;
  border:1px solid color-mix(in srgb,var(--accent) 36%,#d0d5dd);
  border-radius:9px;
  background:#fff;
  color:var(--accent);
  font:inherit;
  font-size:.84rem;
  font-weight:850;
  cursor:pointer;
}
.material-preview-action:hover,
.material-preview-action:focus-visible{
  background:color-mix(in srgb,var(--accent) 7%,white);
  outline:none;
}
.inventory-detail-actions{
  align-items:center;
}
.inventory-detail-actions .material-preview-actions{
  margin-top:0;
}
.ssp-material-popover[hidden]{display:none!important}
.ssp-material-popover{
  position:fixed;
  inset:0;
  z-index:10000;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(2,8,18,.78);
  backdrop-filter:blur(8px);
}
.ssp-material-popover__dialog{
  width:min(1320px,96vw);
  height:min(860px,92vh);
  display:grid;
  grid-template-rows:auto 1fr;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  background:#0d1117;
  box-shadow:0 30px 90px rgba(0,0,0,.48);
}
.ssp-material-popover__bar{
  min-height:54px;
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px 10px 8px 16px;
  color:#fff;
  background:#0a0e14;
  border-bottom:1px solid rgba(255,255,255,.1);
}
.ssp-material-popover__title{
  min-width:0;
  margin-right:auto;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-weight:850;
}
.ssp-material-popover__open,
.ssp-material-popover__close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:38px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:9px;
  background:rgba(255,255,255,.06);
  color:#fff;
  text-decoration:none;
  font:inherit;
  font-weight:800;
  cursor:pointer;
}
.ssp-material-popover__open{padding:0 12px}
.ssp-material-popover__close{width:40px;font-size:1.35rem}
.ssp-material-popover__frame{
  width:100%;
  height:100%;
  border:0;
  background:#11151b;
}
body.ssp-popover-open{overflow:hidden}
@media(max-width:680px){
  .ssp-material-popover{padding:0}
  .ssp-material-popover__dialog{width:100vw;height:100dvh;border:0;border-radius:0}
  .ssp-material-popover__open{display:none}
  .material-preview-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}
  .material-preview-action{width:100%}
}
.ssp-material-popover__status{margin-left:auto;font-size:.82rem;color:#cbd5e1}
.ssp-material-popover__open[hidden]{display:none!important}
.material-preview-action:disabled{opacity:.6;cursor:wait}

/* ============================================================
   ACTIONAPPS METAL / CHROME MOTION
   High-tech metallic interface with animated chrome treatments
   ============================================================ */

:root{
  --aa-metal-0:#030406;
  --aa-metal-1:#0a0d11;
  --aa-metal-2:#161b22;
  --aa-metal-3:#2a313a;
  --aa-metal-4:#6f7883;
  --aa-metal-5:#c6ccd3;
  --aa-metal-6:#f5f7f9;
  --aa-panel:rgba(11,14,18,.78);
  --aa-line:rgba(255,255,255,.13);
  --aa-line-soft:rgba(255,255,255,.07);
  --aa-glow:color-mix(in srgb,var(--accent) 40%,transparent);
  --aa-radius:14px;
  --aa-bevel:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.8),
    0 16px 36px rgba(0,0,0,.38);
}

html{background:var(--aa-metal-0)}
body{
  color:#edf2f7;
  background:
    radial-gradient(800px 460px at var(--aa-x,72%) var(--aa-y,18%),color-mix(in srgb,var(--accent) 11%,transparent),transparent 66%),
    linear-gradient(145deg,#030406 0%,#0b0e12 38%,#050608 100%);
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;inset:0;z-index:-2;pointer-events:none;
  background:
    linear-gradient(115deg,transparent 0 46%,rgba(255,255,255,.025) 46.5% 47%,transparent 47.5% 100%),
    linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
  background-size:100% 100%,48px 48px,48px 48px;
}
body::after{
  content:"";
  position:fixed;inset:-30%;z-index:-1;pointer-events:none;
  background:linear-gradient(115deg,transparent 35%,rgba(255,255,255,.045) 46%,transparent 56%);
  animation:aa-body-sheen 12s linear infinite;
  transform:translateX(-42%);
}
.shell{width:min(calc(100% - 42px),1500px)}

/* HEADER / CHASSIS */
.site-header{
  position:fixed;top:12px;left:14px;right:14px;z-index:1000;
  color:#fff;
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,0) 22%),
    linear-gradient(100deg,#090b0f 0%,#1a2027 42%,#090b0f 100%);
  box-shadow:
    0 18px 50px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.2),
    inset 0 -2px 0 rgba(0,0,0,.75);
  overflow:hidden;
}
.site-header::before{
  content:"";
  position:absolute;left:-20%;top:0;width:34%;height:100%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.18),transparent);
  transform:skewX(-24deg);
  animation:aa-chrome-sweep 7s ease-in-out infinite;
  pointer-events:none;
}
.header-inner{height:70px}
.brand{
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:900;
  text-shadow:0 2px 1px #000,0 0 18px var(--aa-glow);
}
.brand img{
  filter:drop-shadow(0 4px 4px rgba(0,0,0,.55)) drop-shadow(0 0 12px var(--aa-glow));
}
.site-nav{gap:7px}
.site-nav a{
  color:#d5dbe2;
  font-size:.76rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.075em;
  padding:10px 12px;
  border-radius:8px;
}
.site-nav>a:not(.header-cta):hover{
  color:#fff;
  background:linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.02));
  box-shadow:inset 0 1px rgba(255,255,255,.13),0 0 18px var(--aa-glow);
}

/* TRUE CHROME BUTTON TREATMENT */
.button,.header-cta{
  position:relative;
  overflow:hidden;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.28);
  color:#fff!important;
  text-shadow:0 1px 0 #000;
  background:
    linear-gradient(180deg,rgba(255,255,255,.18),transparent 30%),
    linear-gradient(135deg,
      #11151a 0%,
      #606a75 12%,
      #14191f 25%,
      #d6dce2 37%,
      #3b444f 48%,
      #11151a 60%,
      #7c8792 75%,
      #11151a 100%);
  background-size:100% 100%,220% 100%;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.48),
    inset 0 -2px 0 rgba(0,0,0,.8),
    0 8px 20px rgba(0,0,0,.45),
    0 0 18px color-mix(in srgb,var(--accent) 18%,transparent);
  transition:transform .22s ease,box-shadow .22s ease,background-position .4s ease;
}
.button::after,.header-cta::after{
  content:"";
  position:absolute;inset:-30%;
  background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.42) 48%,transparent 61%);
  transform:translateX(-70%) skewX(-22deg);
  transition:transform .5s ease;
  pointer-events:none;
}
.button:hover,.header-cta:hover{
  transform:translateY(-2px) perspective(500px) rotateX(3deg);
  background-position:0 0,100% 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    inset 0 -2px 0 rgba(0,0,0,.9),
    0 14px 28px rgba(0,0,0,.5),
    0 0 24px var(--aa-glow);
}
.button:hover::after,.header-cta:hover::after{transform:translateX(70%) skewX(-22deg)}
.button.ghost{
  color:#e9eef4!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.09),rgba(255,255,255,.015)),
    linear-gradient(135deg,#0a0d10,#232930 48%,#0b0e12);
  border-color:rgba(255,255,255,.17);
}

/* HERO */
.hero{
  min-height:100svh;
  padding:126px 0 72px;
  display:flex;align-items:center;
  position:relative;isolation:isolate;overflow:hidden;
  color:#fff;
  background:
    radial-gradient(720px 460px at 76% 42%,color-mix(in srgb,var(--accent) 12%,transparent),transparent 70%),
    linear-gradient(145deg,#050609,#0e1217 48%,#040506);
}
.hero::before{
  content:"";
  position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(90deg,rgba(2,3,5,.94),rgba(2,3,5,.63) 42%,rgba(2,3,5,.18) 72%,rgba(2,3,5,.52)),
    linear-gradient(to top,rgba(2,3,5,.74),transparent 40%);
}
.hero::after{
  content:"";
  position:absolute;z-index:2;inset:0;pointer-events:none;
  background:
    linear-gradient(130deg,transparent 0 44%,rgba(255,255,255,.05) 44.5% 45%,transparent 45.5% 100%),
    linear-gradient(310deg,transparent 0 76%,rgba(255,255,255,.035) 76.5% 77%,transparent 77.5% 100%);
}
.hero-gallery-background{
  position:absolute;inset:0;z-index:0;
  filter:grayscale(.3) contrast(1.1) brightness(.72);
  transform:scale(1.04);
}
.hero-gallery-background-slide{
  transition:opacity 1s ease,transform 12s ease,filter 1s ease;
  transform:scale(1.03);
}
.hero-gallery-background-slide.active{transform:scale(1.09);filter:contrast(1.08)}
.hero-grid{position:relative;z-index:4;align-items:end}
.hero-copy{
  position:relative;
  padding:38px 40px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:16px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.07),transparent 22%),
    linear-gradient(135deg,rgba(17,21,27,.82),rgba(6,8,11,.60));
  backdrop-filter:blur(18px) saturate(135%);
  box-shadow:
    var(--aa-bevel),
    0 0 0 1px rgba(255,255,255,.025);
}
.hero-copy::before{
  content:"";
  position:absolute;left:18px;right:18px;top:0;height:1px;
  background:linear-gradient(90deg,transparent,#fff,transparent);
  opacity:.55;
}
.hero-copy::after{
  content:"";
  position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;
  background:linear-gradient(130deg,transparent 35%,rgba(255,255,255,.08) 47%,transparent 59%);
  transform:translateX(-110%);
  animation:aa-card-sheen 8s ease-in-out infinite;
}
.eyebrow{
  color:color-mix(in srgb,var(--accent) 72%,white);
  letter-spacing:.2em;
  font-weight:900;
}
.hero h1{
  font-size:clamp(3rem,6.4vw,7rem);
  line-height:.9;
  letter-spacing:-.055em;
  text-transform:uppercase;
  font-weight:950;
  color:transparent;
  background:
    linear-gradient(180deg,
      #ffffff 0%,
      #b9c0c8 19%,
      #ffffff 31%,
      #4e5965 47%,
      #f4f7f9 59%,
      #8c97a2 77%,
      #f5f7f9 100%);
  -webkit-background-clip:text;background-clip:text;
  filter:drop-shadow(0 4px 0 rgba(0,0,0,.75)) drop-shadow(0 12px 22px rgba(0,0,0,.55));
}
.hero p{color:#c5ced7}
.hero-thumbnails{
  padding:10px;
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  background:linear-gradient(145deg,rgba(16,20,26,.82),rgba(7,9,12,.72));
  box-shadow:var(--aa-bevel);
}
.hero-thumbnail{
  border-radius:7px;
  border:1px solid rgba(255,255,255,.13);
  overflow:hidden;
  transform:perspective(700px) rotateX(0) rotateY(0);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.hero-thumbnail:hover,.hero-thumbnail.active{
  transform:perspective(700px) rotateX(3deg) rotateY(-3deg) translateY(-3px);
  border-color:color-mix(in srgb,var(--accent) 55%,white);
  box-shadow:0 15px 28px rgba(0,0,0,.45),0 0 22px var(--aa-glow);
}

/* CHROME SECTION HEADINGS */
.section{
  position:relative;
  padding:92px 0;
  background:transparent!important;
  color:#eaf0f6;
}
.section::before{
  content:"";
  position:absolute;top:0;left:3%;right:3%;height:2px;
  background:linear-gradient(90deg,transparent,#3a4149,#e6ebef,#3a4149,transparent);
  box-shadow:0 1px 0 #000,0 0 14px color-mix(in srgb,var(--accent) 14%,transparent);
}
.section h2{
  color:transparent;
  background:linear-gradient(180deg,#fff,#858f99 45%,#f5f7f9 64%,#606a74 100%);
  -webkit-background-clip:text;background-clip:text;
  filter:drop-shadow(0 3px 0 #000);
  font-weight:950;
  letter-spacing:-.04em;
}
.section p{color:#aeb8c3}

/* METALLIC CARDS */
.card,.text-card,.content-cta,.contact-layout{
  position:relative;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:12px!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.07),transparent 20%),
    linear-gradient(145deg,rgba(19,24,30,.92),rgba(7,9,12,.9))!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -2px 0 rgba(0,0,0,.72),
    0 18px 35px rgba(0,0,0,.34)!important;
  overflow:hidden;
  transform-style:preserve-3d;
  transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease,border-color .3s ease;
}
.card::before,.text-card::before,.content-cta::before,.contact-layout::before{
  content:"";
  position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(118deg,transparent 36%,rgba(255,255,255,.11) 47%,transparent 58%);
  transform:translateX(-115%);
  transition:transform .65s ease;
}
.card:hover,.text-card:hover,.content-cta:hover{
  transform:perspective(900px) rotateX(2.2deg) rotateY(-2.2deg) translateY(-6px);
  border-color:rgba(255,255,255,.24)!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -2px 0 rgba(0,0,0,.78),
    0 28px 52px rgba(0,0,0,.48),
    0 0 24px color-mix(in srgb,var(--accent) 10%,transparent)!important;
}
.card:hover::before,.text-card:hover::before,.content-cta:hover::before{transform:translateX(115%)}
.card h3,.text-card h3{color:#f6f8fa}
.card small,.text-card small,.text-action{
  color:color-mix(in srgb,var(--accent) 70%,white);
  text-transform:uppercase;
  letter-spacing:.11em;
  font-weight:900;
}
.card img,.text-card img{
  filter:saturate(.82) contrast(1.05);
  transition:transform .65s ease,filter .45s ease;
}
.card:hover img,.text-card:hover img{transform:scale(1.045);filter:saturate(1) contrast(1.08)}

/* FACTS / BADGES */
.about-facts>div,.experience-inline,.footer-service-bubble{
  border:1px solid rgba(255,255,255,.12)!important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.05),transparent 28%),
    linear-gradient(135deg,#11161c,#080a0d)!important;
  box-shadow:inset 0 1px rgba(255,255,255,.1),inset 0 -1px #000;
}
.about-facts small{color:color-mix(in srgb,var(--accent) 68%,white)!important}

/* CONTACT / FOOTER */
.contact-section{background:transparent!important}
.standard-contact-frame{
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:10px!important;
  background:#080b0f!important;
  box-shadow:inset 0 1px rgba(255,255,255,.08),0 18px 35px rgba(0,0,0,.36)!important;
}
.site-footer{
  background:
    linear-gradient(180deg,rgba(255,255,255,.045),transparent 16%),
    linear-gradient(135deg,#080a0d,#030405);
  border-top:1px solid rgba(255,255,255,.14);
  color:#aeb8c3;
}
.footer-brand{color:#fff;text-shadow:0 0 16px var(--aa-glow)}
.google-map-footer iframe{filter:grayscale(.8) contrast(1.08)}

/* INNER PAGES */
.list-hero,.detail-hero{
  padding-top:146px!important;
  background:
    radial-gradient(650px 380px at 78% 22%,color-mix(in srgb,var(--accent) 10%,transparent),transparent 70%),
    linear-gradient(145deg,#06080b,#10141a 55%,#050608)!important;
  color:#fff!important;
}
.list-card,.detail-card,.detail-content{
  border:1px solid rgba(255,255,255,.13)!important;
  background:linear-gradient(145deg,#12171d,#07090c)!important;
  color:#edf2f7!important;
  box-shadow:var(--aa-bevel)!important;
}
.detail-back{color:color-mix(in srgb,var(--accent) 70%,white)!important}

/* ANIMATIONS */
@keyframes aa-chrome-sweep{
  0%,72%{left:-28%}
  88%,100%{left:115%}
}
@keyframes aa-card-sheen{
  0%,72%{transform:translateX(-110%)}
  90%,100%{transform:translateX(110%)}
}
@keyframes aa-body-sheen{
  0%{transform:translateX(-44%)}
  100%{transform:translateX(44%)}
}

@media(max-width:980px){
  .site-header{left:8px;right:8px;top:8px}
  .hero{min-height:auto;padding-top:108px}
}
@media(max-width:760px){
  .shell{width:min(calc(100% - 24px),1500px)}
  .header-inner{height:60px}
  .hero{padding:92px 0 54px}
  .hero-copy{padding:24px 20px}
  .hero h1{font-size:clamp(2.55rem,13vw,4.9rem)}
  .section{padding:66px 0}
  .card:hover,.text-card:hover,.content-cta:hover{transform:translateY(-3px)}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* ========================================================================
   ACTIONAPPS METAL / CHROME MOTION v2
   HARD-ANGLED CINEMATIC CHROME SYSTEM
   ======================================================================== */

:root{
  --aa-cyan:color-mix(in srgb,var(--accent) 82%,#7fe7ff);
  --aa-cyan-soft:color-mix(in srgb,var(--accent) 35%,transparent);
  --aa-steel-a:#f6f7f8;
  --aa-steel-b:#8b949e;
  --aa-steel-c:#262c33;
  --aa-black:#050607;
  --aa-panel-hi:rgba(255,255,255,.08);
  --aa-panel-lo:rgba(2,4,6,.92);
  --aa-cut:24px;
  --aa-cut-sm:14px;
  --aa-clip:polygon(var(--aa-cut) 0,100% 0,100% calc(100% - var(--aa-cut)),calc(100% - var(--aa-cut)) 100%,0 100%,0 var(--aa-cut));
  --aa-clip-r:polygon(0 0,calc(100% - var(--aa-cut)) 0,100% var(--aa-cut),100% 100%,var(--aa-cut) 100%,0 calc(100% - var(--aa-cut)));
  --aa-chrome:linear-gradient(
    180deg,
    #ffffff 0%,
    #bfc5cb 10%,
    #4c545d 23%,
    #f8f9fa 36%,
    #7b858f 48%,
    #e8ecef 60%,
    #313840 74%,
    #cbd1d6 88%,
    #6e7781 100%
  );
  --aa-chrome-dark:linear-gradient(
    180deg,
    #5f6871 0%,
    #161a1f 18%,
    #3d454e 34%,
    #0a0c0f 54%,
    #777f88 73%,
    #15191d 100%
  );
}

/* global metallic atmosphere */
body{
  background:
    radial-gradient(900px 520px at var(--aa-x,74%) var(--aa-y,20%),var(--aa-cyan-soft),transparent 66%),
    linear-gradient(135deg,#020304 0%,#0a0d11 46%,#030405 100%) !important;
}
body::before{
  opacity:.72;
  background:
    linear-gradient(118deg,transparent 0 31%,rgba(255,255,255,.018) 31.4% 31.8%,transparent 32.2% 100%),
    linear-gradient(62deg,transparent 0 78%,rgba(255,255,255,.018) 78.3% 78.7%,transparent 79% 100%),
    linear-gradient(rgba(255,255,255,.015) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.015) 1px,transparent 1px);
  background-size:100% 100%,100% 100%,44px 44px,44px 44px;
}

/* giant chrome top rail */
.site-header{
  top:0 !important;
  left:0 !important;
  right:0 !important;
  border-radius:0 !important;
  border:0 !important;
  border-bottom:1px solid rgba(255,255,255,.28) !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.13) 0,rgba(255,255,255,.02) 12%,transparent 26%),
    linear-gradient(100deg,#06080a 0%,#171c22 30%,#282f37 56%,#0b0e11 100%) !important;
  box-shadow:
    0 2px 0 #000,
    0 3px 0 rgba(255,255,255,.17),
    0 18px 34px rgba(0,0,0,.48) !important;
}
.site-header::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-5px;height:4px;
  background:linear-gradient(90deg,#171c22,#eff3f6 12%,#606a74 26%,#fff 50%,#39414a 73%,#e1e6ea 88%,#171c22);
  box-shadow:0 0 12px rgba(255,255,255,.22),0 0 16px var(--aa-cyan-soft);
  pointer-events:none;
}
.header-inner{height:84px !important}
.brand{
  position:relative;
  min-width:300px;
  padding-right:42px;
}
.brand::after{
  content:"";
  position:absolute;
  top:-24px;right:3px;width:2px;height:120px;
  background:var(--aa-chrome);
  transform:rotate(38deg);
  box-shadow:0 0 7px rgba(255,255,255,.4),0 0 10px var(--aa-cyan-soft);
}
.site-nav a{
  position:relative;
  padding:14px 14px !important;
}
.site-nav>a:not(.header-cta)::after{
  content:"";
  position:absolute;
  left:14px;right:14px;bottom:5px;height:2px;
  background:linear-gradient(90deg,transparent,var(--aa-cyan),transparent);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .25s ease;
  box-shadow:0 0 10px var(--aa-cyan);
}
.site-nav>a:not(.header-cta):hover::after{transform:scaleX(1)}

/* angular CTA buttons */
.button,.header-cta{
  clip-path:polygon(13px 0,100% 0,calc(100% - 13px) 100%,0 100%) !important;
  border-radius:0 !important;
  min-height:48px;
  padding-inline:26px !important;
}
.header-cta{
  min-width:180px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.16),transparent 27%),
    linear-gradient(110deg,#0b0e12 0%,#1e252d 45%,#07090c 100%) !important;
  border:1px solid color-mix(in srgb,var(--aa-cyan) 78%,white) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.42),
    inset 0 -2px #000,
    0 0 0 3px rgba(255,255,255,.035),
    0 0 19px var(--aa-cyan-soft),
    0 12px 26px rgba(0,0,0,.48) !important;
}

/* hero gets true mockup-like diagonal split */
.hero{
  min-height:100svh !important;
  padding-top:132px !important;
  border-bottom:1px solid rgba(255,255,255,.28);
}
.hero::before{
  background:
    linear-gradient(120deg,
      rgba(2,3,5,.97) 0%,
      rgba(2,3,5,.95) 35%,
      rgba(2,3,5,.74) 49%,
      rgba(2,3,5,.10) 68%,
      rgba(2,3,5,.22) 100%) !important;
}
.hero::after{
  background:
    linear-gradient(128deg,transparent 0 41.6%,rgba(255,255,255,.34) 41.8% 42%,rgba(0,0,0,.85) 42.2% 43%,transparent 43.3% 100%),
    linear-gradient(128deg,transparent 0 43%,var(--aa-cyan-soft) 43.1% 43.25%,transparent 43.4% 100%),
    linear-gradient(to top,rgba(0,0,0,.72),transparent 34%) !important;
}
.hero-grid{
  grid-template-columns:minmax(0,.93fr) minmax(360px,.76fr) !important;
  gap:48px !important;
  align-items:center !important;
}
.hero-copy{
  clip-path:var(--aa-clip);
  border-radius:0 !important;
  padding:44px 46px 46px !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.075),transparent 18%),
    linear-gradient(135deg,rgba(7,9,12,.93),rgba(18,23,29,.72)) !important;
  border:1px solid rgba(255,255,255,.20) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.26),
    inset 0 -2px #000,
    16px 22px 44px rgba(0,0,0,.48),
    -1px 0 0 rgba(255,255,255,.08) !important;
}
.hero-copy::before{
  left:22px !important;
  width:170px !important;
  height:3px !important;
  top:18px !important;
  background:linear-gradient(90deg,var(--aa-cyan),#fff,transparent) !important;
  box-shadow:0 0 16px var(--aa-cyan);
}
.hero-copy::after{
  background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.19) 45%,rgba(255,255,255,.03) 49%,transparent 59%) !important;
  animation:aa-card-sheen 5.6s ease-in-out infinite !important;
}
.hero h1{
  text-transform:uppercase;
  font-style:italic;
  transform:skewX(-5deg);
  font-weight:1000 !important;
  font-size:clamp(3rem,6vw,6.5rem) !important;
  line-height:.88 !important;
  background:var(--aa-chrome) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
  -webkit-text-stroke:1px rgba(255,255,255,.22);
  filter:
    drop-shadow(0 2px 0 #fff)
    drop-shadow(0 4px 0 #111)
    drop-shadow(0 9px 8px rgba(0,0,0,.9))
    drop-shadow(0 0 14px rgba(255,255,255,.08)) !important;
}
.hero p{
  max-width:650px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.035em;
}

/* thumbnail assembly looks like control console */
.hero-thumbnails{
  position:relative;
  clip-path:var(--aa-clip-r);
  border-radius:0 !important;
  padding:14px !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.10),transparent 16%),
    linear-gradient(145deg,#171c22,#07090c 74%) !important;
  border:1px solid rgba(255,255,255,.20) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.25),
    inset 0 -2px #000,
    18px 22px 42px rgba(0,0,0,.5) !important;
}
.hero-thumbnails::before{
  content:"MATERIAL // VISUALIZER";
  position:absolute;
  top:7px;left:25px;
  z-index:4;
  color:var(--aa-cyan);
  font:900 9px/1 system-ui,sans-serif;
  letter-spacing:.18em;
  text-shadow:0 0 10px var(--aa-cyan);
}
.hero-thumbnail{
  border-radius:0 !important;
  clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%);
}

/* section chrome rails */
.section{
  position:relative;
  isolation:isolate;
  padding:96px 0 !important;
}
.section::before{
  top:0 !important;
  left:0 !important;
  right:0 !important;
  height:5px !important;
  background:
    linear-gradient(90deg,#090b0e 0%,#727d87 8%,#f8fafb 17%,#3d454e 26%,#e3e8ec 50%,#3a424a 74%,#fff 85%,#15191d 100%) !important;
  box-shadow:0 1px #000,0 0 14px rgba(255,255,255,.18),0 0 12px var(--aa-cyan-soft) !important;
}
.section::after{
  content:"";
  position:absolute;top:5px;left:0;width:34%;height:36px;z-index:-1;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,0));
  clip-path:polygon(0 0,100% 0,calc(100% - 34px) 100%,0 100%);
  border-bottom:1px solid rgba(255,255,255,.07);
}
.section-head{
  position:relative;
  padding-left:34px;
}
.section-head::before{
  content:"";
  position:absolute;left:0;top:6px;bottom:6px;width:7px;
  background:linear-gradient(180deg,#fff,var(--aa-cyan),#1d2329);
  clip-path:polygon(50% 0,100% 16%,100% 84%,50% 100%,0 84%,0 16%);
  box-shadow:0 0 16px var(--aa-cyan);
}
.section h2{
  text-transform:uppercase;
  font-style:italic;
  font-weight:1000 !important;
  letter-spacing:-.035em !important;
  background:var(--aa-chrome) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  color:transparent !important;
  filter:drop-shadow(0 2px 0 #000) drop-shadow(0 7px 9px rgba(0,0,0,.7)) !important;
}

/* cards become mechanical beveled modules */
.cards{
  gap:18px !important;
  perspective:1400px;
}
.card,.text-card,.content-cta,.contact-layout{
  clip-path:var(--aa-clip) !important;
  border-radius:0 !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.075),transparent 18%),
    linear-gradient(135deg,#11161b 0%,#080a0d 55%,#151a20 100%) !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.22),
    inset 0 -2px #000,
    0 24px 45px rgba(0,0,0,.42) !important;
  transform:translateZ(0);
}
.card::after,.text-card::after,.content-cta::after,.contact-layout::after{
  content:"";
  position:absolute;right:0;bottom:0;width:38px;height:38px;
  background:
    linear-gradient(135deg,transparent 0 45%,rgba(255,255,255,.28) 46% 48%,#171c22 49% 100%);
  clip-path:polygon(100% 0,100% 100%,0 100%);
  pointer-events:none;
}
.card:hover,.text-card:hover,.content-cta:hover{
  transform:perspective(1000px) rotateX(3deg) rotateY(-4deg) translateY(-9px) scale(1.012) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.30),
    inset 0 -2px #000,
    20px 32px 58px rgba(0,0,0,.52),
    0 0 26px var(--aa-cyan-soft) !important;
}
.card-image-link::before{
  content:"";
  position:absolute;inset:0;z-index:2;pointer-events:none;
  border:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(135deg,transparent 0 72%,rgba(255,255,255,.08) 72.3% 72.7%,transparent 73% 100%);
}
.card-image-link::after{
  background:
    linear-gradient(to top,rgba(2,4,6,.72),transparent 56%),
    linear-gradient(115deg,transparent 35%,rgba(255,255,255,.11) 48%,transparent 60%) !important;
  transform:translateX(-40%);
  transition:transform .7s ease;
}
.card:hover .card-image-link::after{transform:translateX(45%)}

/* compact feature strips get angled metallic segments */
.about-facts{
  gap:0 !important;
}
.about-facts>div{
  clip-path:polygon(14px 0,100% 0,calc(100% - 14px) 100%,0 100%) !important;
  border-radius:0 !important;
  margin-left:-5px;
  min-height:112px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    linear-gradient(180deg,rgba(255,255,255,.10),transparent 18%),
    linear-gradient(135deg,#151a20,#080a0d) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.20),
    inset 0 -2px #000,
    0 12px 22px rgba(0,0,0,.3) !important;
}
.about-facts strong{
  color:transparent !important;
  background:var(--aa-chrome) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  font-size:1.55rem;
  filter:drop-shadow(0 2px 0 #000);
}

/* contact as framed machine panel */
.contact-layout{
  padding:32px !important;
}
.contact-layout::before{
  background:linear-gradient(112deg,transparent 35%,rgba(255,255,255,.16) 47%,transparent 59%) !important;
  animation:aa-card-sheen 7.5s ease-in-out infinite;
}
.standard-contact-frame{
  clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);
  border-radius:0 !important;
}

/* footer chrome chassis */
.site-footer{
  position:relative;
  border-top:5px solid transparent !important;
  border-image:linear-gradient(90deg,#111,#e6ebef,#444,#fff,#333,#d7dde1,#111) 1 !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.05),transparent 14%),
    linear-gradient(135deg,#080a0d,#020304) !important;
}
.footer-service-bubble{
  clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%);
  border-radius:0 !important;
}

/* inventory side-tab flavor if present */
.inventory-tab,[class*="inventory-tab"]{
  filter:drop-shadow(0 0 12px var(--aa-cyan-soft));
}

/* inner pages should maintain the same mechanical language */
.list-hero,.detail-hero{
  position:relative;
  overflow:hidden;
  border-bottom:4px solid transparent !important;
  border-image:linear-gradient(90deg,#14181d,#fff,#3c444d,#fff,#15191d) 1 !important;
}
.list-hero::after,.detail-hero::after{
  content:"";
  position:absolute;right:-90px;top:0;width:46%;height:100%;
  background:linear-gradient(128deg,transparent 45%,rgba(255,255,255,.06) 45.5%,transparent 46%);
  transform:skewX(-8deg);
  pointer-events:none;
}
.list-card,.detail-card,.detail-content{
  clip-path:var(--aa-clip) !important;
  border-radius:0 !important;
}

/* stronger keyframes */
@keyframes aa-chrome-sweep{
  0%,64%{left:-30%;opacity:0}
  70%{opacity:1}
  90%{left:120%;opacity:1}
  100%{left:120%;opacity:0}
}
@keyframes aa-card-sheen{
  0%,68%{transform:translateX(-120%) skewX(-14deg)}
  88%{transform:translateX(120%) skewX(-14deg)}
  100%{transform:translateX(120%) skewX(-14deg)}
}
@keyframes aa-edge-pulse{
  0%,100%{box-shadow:0 0 8px var(--aa-cyan-soft)}
  50%{box-shadow:0 0 22px var(--aa-cyan)}
}

@media(max-width:1100px){
  .brand{min-width:auto}
  .brand::after{display:none}
  .hero-grid{grid-template-columns:1fr !important}
}
@media(max-width:760px){
  :root{--aa-cut:16px}
  .header-inner{height:64px !important}
  .hero{padding-top:100px !important}
  .hero-copy{padding:30px 24px !important}
  .hero h1{
    transform:none;
    font-size:clamp(2.45rem,13vw,4.35rem) !important;
  }
  .section-head{padding-left:20px}
  .section-head::before{width:4px}
  .card:hover,.text-card:hover,.content-cta:hover{
    transform:translateY(-4px) !important;
  }
}

/* ========================================================================
   ACTIONAPPS METAL DETAIL PAGE — EXACT WHITE BOX FIX
   Generated detail pages use expand-panel/detail-facts/detail-media.
   ======================================================================== */

body[data-theme="actionapps-metal"] .detail-hero,
body[data-theme="actionapps-metal"] .detail-copy{
  color:#edf2f7 !important;
}

body[data-theme="actionapps-metal"] .detail-copy h1{
  color:transparent !important;
  background:var(--aa-chrome) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  filter:
    drop-shadow(0 2px 0 #000)
    drop-shadow(0 8px 10px rgba(0,0,0,.72)) !important;
}

body[data-theme="actionapps-metal"] .detail-lead,
body[data-theme="actionapps-metal"] .detail-article,
body[data-theme="actionapps-metal"] .detail-article p{
  color:#aeb8c3 !important;
}

/* Main expandable white panel */
body[data-theme="actionapps-metal"] .expand-panel{
  position:relative;
  clip-path:var(--aa-clip);
  border-radius:0 !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.075),transparent 18%),
    linear-gradient(135deg,#11161b 0%,#080a0d 58%,#151a20 100%) !important;
  color:#edf2f7 !important;
  border:1px solid rgba(255,255,255,.18) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.22),
    inset 0 -2px #000,
    0 24px 45px rgba(0,0,0,.42) !important;
  overflow:hidden;
}

body[data-theme="actionapps-metal"] .expand-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(112deg,transparent 35%,rgba(255,255,255,.11) 47%,transparent 59%);
  transform:translateX(-120%) skewX(-14deg);
  animation:aa-card-sheen 8s ease-in-out infinite;
}

body[data-theme="actionapps-metal"] .expand-panel summary{
  position:relative;
  z-index:1;
  color:#f5f7f9 !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.015)) !important;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-transform:uppercase;
  letter-spacing:.04em;
  font-weight:900;
}

body[data-theme="actionapps-metal"] .expand-panel summary::after{
  color:var(--aa-cyan) !important;
  text-shadow:0 0 12px var(--aa-cyan);
}

body[data-theme="actionapps-metal"] .expand-panel__body{
  position:relative;
  z-index:1;
  color:#aeb8c3 !important;
  background:transparent !important;
}

/* Material fact grid */
body[data-theme="actionapps-metal"] .detail-facts{
  background:rgba(255,255,255,.08) !important;
  border:1px solid rgba(255,255,255,.13) !important;
  border-radius:0 !important;
  clip-path:var(--aa-clip);
  overflow:hidden;
}

body[data-theme="actionapps-metal"] .detail-facts div{
  background:
    linear-gradient(180deg,rgba(255,255,255,.065),transparent 24%),
    linear-gradient(135deg,#151a20,#080a0d) !important;
  color:#edf2f7 !important;
  border-color:rgba(255,255,255,.08) !important;
}

body[data-theme="actionapps-metal"] .detail-facts dt{
  color:var(--aa-cyan) !important;
  text-transform:uppercase;
  letter-spacing:.10em;
  font-weight:900;
  text-shadow:0 0 10px var(--aa-cyan-soft);
}

body[data-theme="actionapps-metal"] .detail-facts dd{
  color:#f5f7f9 !important;
}

/* Main product/material image frame */
body[data-theme="actionapps-metal"] .detail-media{
  clip-path:var(--aa-clip-r);
  border-radius:0 !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.08),transparent 16%),
    linear-gradient(145deg,#171c22,#07090c 74%) !important;
  border:1px solid rgba(255,255,255,.20) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.25),
    inset 0 -2px #000,
    18px 22px 42px rgba(0,0,0,.50),
    0 0 24px var(--aa-cyan-soft) !important;
}

body[data-theme="actionapps-metal"] .detail-gallery img{
  background:#07090c !important;
  border:1px solid rgba(255,255,255,.13) !important;
}

body[data-theme="actionapps-metal"] .detail-price{
  color:transparent !important;
  background:var(--aa-chrome) !important;
  -webkit-background-clip:text !important;
  background-clip:text !important;
  filter:drop-shadow(0 2px 0 #000);
}

/* Related links / recommended content */
body[data-theme="actionapps-metal"] .detail-links a{
  clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%);
  border-radius:0 !important;
  background:
    linear-gradient(180deg,rgba(255,255,255,.06),transparent 20%),
    linear-gradient(135deg,#11161b,#080a0d) !important;
  color:#edf2f7 !important;
  border:1px solid rgba(255,255,255,.13) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.12),
    inset 0 -1px #000,
    0 10px 22px rgba(0,0,0,.28) !important;
}

body[data-theme="actionapps-metal"] .detail-links a:hover{
  transform:translateY(-3px);
  border-color:color-mix(in srgb,var(--aa-cyan) 55%,white) !important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.18),
    0 16px 28px rgba(0,0,0,.40),
    0 0 18px var(--aa-cyan-soft) !important;
}

body[data-theme="actionapps-metal"] .detail-links a span{
  color:#aeb8c3 !important;
}

body[data-theme="actionapps-metal"] .detail-links a strong{
  color:#f5f7f9 !important;
}

/* Catch inline white utility panels generated by subpage shells */
body[data-theme="actionapps-metal"] main [style*="background:#fff"],
body[data-theme="actionapps-metal"] main [style*="background: #fff"],
body[data-theme="actionapps-metal"] main [style*="background:white"],
body[data-theme="actionapps-metal"] main [style*="background: white"],
body[data-theme="actionapps-metal"] main [style*="background-color:#fff"],
body[data-theme="actionapps-metal"] main [style*="background-color: #fff"],
body[data-theme="actionapps-metal"] main [style*="background-color:white"],
body[data-theme="actionapps-metal"] main [style*="background-color: white"]{
  background:
    linear-gradient(180deg,rgba(255,255,255,.055),transparent 20%),
    linear-gradient(135deg,#11161b,#080a0d) !important;
  color:#edf2f7 !important;
}

/* ========================================================================
   ACTIONAPPS CHROME v4
   HEADER CLEANUP + INTERMEDIATE HERO / IMAGE RESPONSIVE TREATMENT
   ======================================================================== */

/* Cleaner chassis header — remove the broad cloudy metallic wash. */
body[data-theme="actionapps-metal"] .site-header{
  background:
    linear-gradient(180deg,
      #11161b 0%,
      #0d1116 46%,
      #080b0e 100%) !important;
  border-bottom:1px solid rgba(255,255,255,.16) !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.10),
    inset 0 -1px 0 rgba(0,0,0,.95),
    0 8px 24px rgba(0,0,0,.38) !important;
}

/* Keep the metallic identity as a precise rail, not a full-header gradient. */
body[data-theme="actionapps-metal"] .site-header::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;
  pointer-events:none;
  background:
    linear-gradient(90deg,
      transparent 0%,
      rgba(255,255,255,.12) 9%,
      #7b858f 19%,
      #eef2f5 31%,
      #424b55 45%,
      #f6f8fa 57%,
      #5d6771 73%,
      rgba(255,255,255,.12) 90%,
      transparent 100%);
  opacity:.72;
}

body[data-theme="actionapps-metal"] .site-header::after{
  bottom:-3px !important;
  height:3px !important;
  background:
    linear-gradient(90deg,
      #0b0e11 0%,
      #747e88 12%,
      #edf2f5 24%,
      #39414a 39%,
      #e8edf1 51%,
      #4d5761 66%,
      #f4f6f8 82%,
      #101419 100%) !important;
  box-shadow:
    0 1px 0 #000,
    0 0 8px rgba(255,255,255,.14),
    0 0 8px var(--aa-cyan-soft) !important;
}

/* Make the diagonal brand divider slimmer and less dominant. */
body[data-theme="actionapps-metal"] .brand::after{
  width:1px !important;
  opacity:.72;
  box-shadow:
    0 0 3px rgba(255,255,255,.28),
    0 0 6px var(--aa-cyan-soft) !important;
}


/* ------------------------------------------------------------------------
   INTERMEDIATE WIDTHS
   On laptop/tablet widths, the old layout squeezed the image console into
   the right side. Give it a deliberate second-row "visualizer deck".
   ------------------------------------------------------------------------ */

@media (min-width: 761px) and (max-width: 1180px){

  body[data-theme="actionapps-metal"] .hero{
    min-height:auto !important;
    padding-top:112px !important;
    padding-bottom:64px !important;
  }

  body[data-theme="actionapps-metal"] .hero-grid{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:28px !important;
    align-items:start !important;
  }

  body[data-theme="actionapps-metal"] .hero-copy{
    width:min(760px,92%) !important;
    max-width:none !important;
    margin:0 !important;
    padding:36px 38px 38px !important;
    position:relative;
    z-index:3;
  }

  body[data-theme="actionapps-metal"] .hero h1{
    font-size:clamp(3.35rem,8.4vw,5.7rem) !important;
    line-height:.90 !important;
  }

  /* Full-width image console beneath copy instead of a cramped side rail. */
  body[data-theme="actionapps-metal"] .hero-thumbnails{
    width:min(920px,96%) !important;
    max-width:none !important;
    margin:0 auto !important;
    min-height:0 !important;
    aspect-ratio:auto !important;
    padding:16px !important;
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    grid-auto-rows:minmax(150px,22vw) !important;
    gap:12px !important;
    position:relative !important;
    inset:auto !important;
    transform:none !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail{
    min-width:0 !important;
    width:100% !important;
    height:100% !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
  }

  /* First image becomes the visual anchor; remaining images form the rail. */
  body[data-theme="actionapps-metal"] .hero-thumbnail:first-child{
    grid-column:span 2 !important;
    grid-row:span 2 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnails::before{
    top:8px !important;
    left:28px !important;
  }

  /* Keep the diagonal background language but reduce its interference with
     the image deck at these widths. */
  body[data-theme="actionapps-metal"] .hero::before{
    background:
      linear-gradient(120deg,
        rgba(2,3,5,.97) 0%,
        rgba(2,3,5,.94) 48%,
        rgba(2,3,5,.60) 67%,
        rgba(2,3,5,.28) 100%) !important;
  }

  body[data-theme="actionapps-metal"] .hero::after{
    opacity:.55;
  }
}


/* A second breakpoint for narrow tablets / large phones. */
@media (min-width: 761px) and (max-width: 900px){

  body[data-theme="actionapps-metal"] .hero-copy{
    width:94% !important;
    padding:30px 30px 34px !important;
  }

  body[data-theme="actionapps-metal"] .hero h1{
    font-size:clamp(3rem,9.2vw,4.75rem) !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnails{
    width:94% !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-auto-rows:minmax(155px,30vw) !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:first-child{
    grid-column:1 / -1 !important;
    grid-row:span 1 !important;
    min-height:240px !important;
  }
}


/* Mobile: keep the typography dominant, but make image treatment intentional
   if thumbnails are present instead of allowing a squeezed desktop grid. */
@media (max-width:760px){

  body[data-theme="actionapps-metal"] .site-header{
    background:
      linear-gradient(180deg,#12171c 0%,#090c10 100%) !important;
  }

  body[data-theme="actionapps-metal"] .site-header::before{
    opacity:.45;
  }

  body[data-theme="actionapps-metal"] .hero-grid{
    gap:18px !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnails{
    width:calc(100% - 28px) !important;
    margin:8px auto 0 !important;
    padding:10px !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-auto-rows:130px !important;
    gap:8px !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:first-child{
    grid-column:1 / -1 !important;
    min-height:190px !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }
}

/* ========================================================================
   ACTIONAPPS CHROME v5
   REMOVE FOREGROUND DIAGONAL + REBUILD HERO VISUALIZER GRID
   ======================================================================== */

/* The diagonal slash was sitting above ALL hero content. Kill that overlay. */
body[data-theme="actionapps-metal"] .hero::after{
  content:none !important;
  display:none !important;
  background:none !important;
  opacity:0 !important;
}

/* Keep angular structure in the BACKGROUND only. */
body[data-theme="actionapps-metal"] .hero::before{
  z-index:0 !important;
}

body[data-theme="actionapps-metal"] .hero-grid,
body[data-theme="actionapps-metal"] .hero-copy,
body[data-theme="actionapps-metal"] .hero-thumbnails{
  position:relative;
  z-index:2;
}

/* ------------------------------------------------------------------------
   DESKTOP VISUALIZER
   One dominant image + four supporting images.
   This removes the orphaned fifth image / dead black lower-right area.
   ------------------------------------------------------------------------ */
@media (min-width:1181px){

  body[data-theme="actionapps-metal"] .hero-grid{
    grid-template-columns:minmax(0,1fr) minmax(520px,.92fr) !important;
    gap:34px !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnails{
    width:100% !important;
    max-width:650px !important;
    margin-left:auto !important;
    padding:16px !important;

    display:grid !important;
    grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr) minmax(0,.82fr) !important;
    grid-template-rows:repeat(2,minmax(165px,1fr)) !important;
    gap:10px !important;

    min-height:390px !important;
    height:auto !important;
    aspect-ratio:auto !important;
    align-self:center !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail{
    width:100% !important;
    height:100% !important;
    min-width:0 !important;
    min-height:0 !important;
    overflow:hidden !important;
  }

  /* Lead image occupies entire left side. */
  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(1){
    grid-column:1 !important;
    grid-row:1 / span 2 !important;
  }

  /* Four supporting images occupy a clean 2x2 matrix. */
  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(2){
    grid-column:2 !important;
    grid-row:1 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(3){
    grid-column:3 !important;
    grid-row:1 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(4){
    grid-column:2 !important;
    grid-row:2 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(5){
    grid-column:3 !important;
    grid-row:2 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center !important;
    display:block !important;
  }

  /* Stop any legacy sizing from leaving an empty slot. */
  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(n+6){
    display:none !important;
  }
}

/* ------------------------------------------------------------------------
   INTERMEDIATE / LAPTOP WIDTHS
   Keep the same intentional 1 + 4 layout, just stacked below the copy.
   ------------------------------------------------------------------------ */
@media (min-width:901px) and (max-width:1180px){

  body[data-theme="actionapps-metal"] .hero-thumbnails{
    width:min(940px,96%) !important;
    max-width:none !important;
    margin:0 auto !important;
    padding:14px !important;

    display:grid !important;
    grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr) minmax(0,.85fr) !important;
    grid-template-rows:repeat(2,minmax(180px,1fr)) !important;
    gap:10px !important;

    min-height:390px !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(1){
    grid-column:1 !important;
    grid-row:1 / span 2 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(2){
    grid-column:2 !important;
    grid-row:1 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(3){
    grid-column:3 !important;
    grid-row:1 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(4){
    grid-column:2 !important;
    grid-row:2 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(5){
    grid-column:3 !important;
    grid-row:2 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail{
    min-width:0 !important;
    min-height:0 !important;
    width:100% !important;
    height:100% !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    display:block !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(n+6){
    display:none !important;
  }
}

/* ------------------------------------------------------------------------
   TABLET
   Lead image full width + four support tiles underneath.
   ------------------------------------------------------------------------ */
@media (min-width:761px) and (max-width:900px){

  body[data-theme="actionapps-metal"] .hero-thumbnails{
    width:94% !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-template-rows:minmax(260px,38vw) repeat(2,minmax(150px,24vw)) !important;
    gap:10px !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(1){
    grid-column:1 / -1 !important;
    grid-row:1 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(2){
    grid-column:1 !important;
    grid-row:2 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(3){
    grid-column:2 !important;
    grid-row:2 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(4){
    grid-column:1 !important;
    grid-row:3 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(5){
    grid-column:2 !important;
    grid-row:3 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail{
    width:100% !important;
    height:100% !important;
    min-width:0 !important;
    min-height:0 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail img{
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(n+6){
    display:none !important;
  }
}

/* ------------------------------------------------------------------------
   MOBILE
   One wide lead image, then 2x2 support tiles.
   ------------------------------------------------------------------------ */
@media (max-width:760px){

  body[data-theme="actionapps-metal"] .hero-thumbnails{
    width:calc(100% - 24px) !important;
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-template-rows:210px repeat(2,125px) !important;
    gap:8px !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(1){
    grid-column:1 / -1 !important;
    grid-row:1 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(2){
    grid-column:1 !important;
    grid-row:2 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(3){
    grid-column:2 !important;
    grid-row:2 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(4){
    grid-column:1 !important;
    grid-row:3 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(5){
    grid-column:2 !important;
    grid-row:3 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail{
    width:100% !important;
    height:100% !important;
    min-width:0 !important;
    min-height:0 !important;
  }

  body[data-theme="actionapps-metal"] .hero-thumbnail:nth-child(n+6){
    display:none !important;
  }
}

/* ==========================================================================
   ACTIONAPPS METAL — H1 SCALE ADJUSTMENT
   Reduce hero H1 approximately 25% without affecting other themes.
   ========================================================================== */

body[data-theme="actionapps-metal"] .hero h1{
  font-size:clamp(2.75rem,5.65vw,5.9rem) !important;
}

@media (max-width:760px){
  body[data-theme="actionapps-metal"] .hero h1{
    font-size:clamp(2.25rem,10.5vw,4rem) !important;
  }
}
