
/* Visual Production LAB | extension to original Mare Visuals design system */
.project-filters{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:12px 0 16px}
.project-filters button{background:transparent;color:inherit;border:1px solid rgba(127,139,132,.28);padding:12px 9px;letter-spacing:.07em;text-transform:uppercase;font-size:.64rem;font-weight:650;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.project-filters button:hover,.project-filters button.is-active{background:#d8e3d1;color:#111816;border-color:#d8e3d1}
.project-tab[hidden]{display:none!important}
.service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.service-card{scroll-margin-top:95px;min-height:360px}
#model-to-image,#precision-cgi{scroll-margin-top:95px}
.audience-card{min-height:285px}
.hero-floating-card strong{max-width:300px;line-height:1.4}
.hero-copy .hero-desc{max-width:715px}
#source-select{min-width:0}
.developer-actions{flex-wrap:wrap}
.developer-actions .developer-secondary{padding:12px 0}
@media(max-width:960px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.service-card{min-height:0}}
@media(max-width:650px){.service-grid{grid-template-columns:1fr}.project-filters button{font-size:.57rem}.hero-floating-card strong{max-width:none}.developer-actions{align-items:flex-start}}

.working-render-section{padding:clamp(72px,8vw,126px) 0;background:#161b19;color:#e8ede8}
.working-render-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(32px,5vw,90px);align-items:center}
.working-render-copy h2{font-size:clamp(2rem,3.7vw,4.4rem);font-weight:500;letter-spacing:-.04em;line-height:1.08;margin:20px 0 24px;color:#f0f3ed}
.working-render-copy h2 span{color:#a5b2a5}
.working-render-lead{font-size:clamp(1rem,1.2vw,1.2rem);line-height:1.65;color:#c9d1c9;max-width:650px}
.working-render-points{display:grid;gap:21px;margin:28px 0 32px}
.working-render-points>div{padding-top:15px;border-top:1px solid #39443e}
.working-render-points strong{font-size:.72rem;letter-spacing:.1em;font-weight:650}
.working-render-points p{margin:8px 0 0;color:#bdc8bd;font-size:.9rem;line-height:1.65}
.working-render-media-grid{display:grid;gap:14px}
.working-render-media figure{margin:0;position:relative;overflow:hidden;aspect-ratio:1.59;background:#38413b}
.working-render-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s}
.working-render-media figure:hover img{transform:scale(1.035)}
.working-render-media figcaption{position:absolute;left:12px;bottom:12px;background:rgba(18,24,21,.8);backdrop-filter:blur(8px);padding:9px 12px;font-size:.64rem;font-weight:650;letter-spacing:.12em;color:#e7ebe6}
.working-render-note{font-size:.78rem;color:#aebbac;margin-top:22px}
@media(max-width:900px){.working-render-grid{grid-template-columns:1fr}.working-render-media-grid{grid-template-columns:1fr 1fr;gap:10px}.working-render-media figure{aspect-ratio:1.1}}
@media(max-width:580px){.working-render-media-grid{grid-template-columns:1fr}.working-render-media figure{aspect-ratio:1.6}.working-render-section{padding:62px 0}.working-render-copy h2{font-size:2.25rem}}


/* 2026-11-05 refinement: slim brand / bold LAB, spacious two-line hero caption. */
.brand-product { font-weight: 300 !important; letter-spacing: .085em; }
.brand-product .brand-product-light { font-weight: 300 !important; }
.brand-product > strong { font-weight: 850 !important; letter-spacing: .04em; }
.hero-floating-card {
  left: 16px; right: 16px; bottom: 14px;
  min-width: 0; width: auto; max-width: none;
  display: grid; grid-template-columns: minmax(0,1fr) auto;
  grid-template-rows: auto auto; align-items: baseline;
  column-gap: 12px; row-gap: 3px;
  padding: 10px 14px 9px;
  background: rgba(10,14,12,.58);
}
.hero-floating-card small { grid-column: 1; grid-row: 1; font-size: 9px; letter-spacing: .14em; }
.hero-floating-card > span { grid-column: 2; grid-row: 1; justify-self: end; font-size: 10px; white-space: nowrap; }
.hero-floating-card > strong {
  grid-column: 1 / -1; grid-row: 2; max-width: none;
  font-size: 12.5px; line-height: 1.25; font-weight: 650;
  letter-spacing: -.005em;
}
/* Move the small editorial identifier above the image, away from the car and caption. */
.hero-visual-caption { top: 25px; bottom: auto; left: 26px; right: 26px; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
@media(max-width:600px) {
 .brand-product { letter-spacing: .05em; }
 .hero-floating-card { left: 10px; right: 10px; bottom: 10px; padding: 8px 10px; column-gap: 8px; row-gap: 3px; }
 .hero-floating-card small { font-size: 8px; letter-spacing: .08em; }
 .hero-floating-card > span { font-size: 8px; letter-spacing: 0; }
 .hero-floating-card > strong { font-size: 11px; line-height: 1.2; }
 .hero-visual-caption { top: 15px; left: 16px; right: 16px; bottom: auto; font-size: 9px; }
 .hero-side-label { display:none; }
}
@media(max-width:350px) {
 .hero-floating-card > span { font-size: 7px; }
 .hero-floating-card > strong { font-size: 10px; }
}


/* 2026-11-05 — unify category switching and project thumbnails in both galleries. */
.project-filters{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  width:100%;
  margin:12px 0 16px;
  grid-column:1/-1;
}
.project-filters button{
  box-sizing:border-box;
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
  min-width:0;
  min-height:46px;
  margin:0;
  padding:11px 9px;
  border:1px solid #b7c4b5;
  border-radius:2px;
  background:transparent;
  color:#26382d;
  text-align:center;
  font-size:11px;
  font-weight:650;
  line-height:1.3;
  font-family:inherit;
  letter-spacing:.07em;
  text-transform:uppercase;
  cursor:pointer;
  transition:background .2s,color .2s,border-color .2s;
}
.project-filters button:is(:hover,:focus-visible){background:#d9e3d6;color:#172119;border-color:#738e75}
.project-filters button.is-active,.project-filters button[aria-pressed="true"]{background:#1e3024;color:#f7faf4;border-color:#1e3024}
.project-filters button:focus-visible{outline:2px solid #748c73;outline-offset:2px}
@media(min-width:901px){
 .showcase-menu{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start}
 .showcase-menu .project-tab{flex:0 0 82px;min-height:82px;max-height:none;padding:6px 3px}
 .showcase-menu .menu-note{margin-top:auto}
}
@media(max-width:900px){
 .showcase-menu .project-filters,.showcase-menu .menu-note,.showcase-menu .menu-head{grid-column:1/-1}
 .showcase-menu .project-tab,.showcase-menu .project-tab:last-of-type{min-width:0;min-height:0}
}
@media(max-width:640px){
 .showcase-menu{grid-template-rows:none;grid-auto-rows:auto}
 .showcase-menu .project-tab,.showcase-menu .project-tab:last-of-type{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0;height:auto;padding:8px}
 .showcase-menu .project-tab img,.showcase-menu .project-tab:last-of-type img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
 .showcase-menu .project-tab span:nth-child(2),.showcase-menu .project-tab:last-of-type span:nth-child(2){display:-webkit-box;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:11px;line-height:1.3;padding:0 1px}
 .showcase-menu .project-tab span:last-child{display:none}
 .project-filters button{min-height:44px;font-size:10px;letter-spacing:.03em}
}


/* 2026-11-05: Category-invariant comparison gallery.
   Both categories contain eight projects and use eight identical thumbnail slots.
   The comparison frame, caption, and controls keep their measurements when switching. */
.gallery-section .showcase{align-items:stretch}
.gallery-section .showcase-left{min-width:0;min-height:0}
.gallery-section .showcase-caption{
  box-sizing:border-box;height:176px;min-height:176px;max-height:176px;
  overflow:hidden;
}
.gallery-section .showcase-caption h3,
.gallery-section .showcase-caption p{
  display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;
}
.gallery-section .showcase-caption h3{-webkit-line-clamp:2;line-clamp:2}
.gallery-section .showcase-caption p{-webkit-line-clamp:3;line-clamp:3}
.gallery-section .showcase-menu{
  display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
  gap:0;min-width:0;
}
.gallery-section .showcase-menu .project-list{
  display:grid;grid-template-columns:minmax(0,1fr);
  grid-template-rows:repeat(8,minmax(0,82px));
  width:100%;min-width:0;flex:0 0 auto;gap:0;
}
.gallery-section .showcase-menu .project-list>.project-tab{
  box-sizing:border-box;display:grid;grid-column:auto;
  grid-template-columns:73px minmax(0,1fr) auto;
  width:100%;height:82px;min-height:0;max-height:82px;
  padding:6px 3px;gap:11px;align-items:center;
}
.gallery-section .showcase-menu .project-list>.project-tab img{
  width:73px;height:66px;aspect-ratio:auto;object-fit:cover;
}
.gallery-section .showcase-menu .project-list>.project-tab>span:last-child{display:block}
.gallery-section .showcase-menu .menu-note{flex:0 0 auto;margin:0;padding-top:13px}
@media(min-width:901px) and (max-width:1180px){
 .gallery-section .showcase-menu .project-list>.project-tab{grid-template-columns:58px minmax(0,1fr) auto;gap:9px}
 .gallery-section .showcase-menu .project-list>.project-tab img{width:58px;height:57px}
}
@media(max-width:900px){
 .gallery-section .showcase-menu .project-list{
   grid-template-columns:repeat(2,minmax(0,1fr));
   grid-template-rows:repeat(4,100px);gap:8px;
 }
 .gallery-section .showcase-menu .project-list>.project-tab{
   display:grid;grid-template-columns:61px minmax(0,1fr) auto;
   width:100%;height:100px;min-height:0;max-height:100px;
   border:1px solid #cbd3c8;padding:8px;gap:9px;
 }
 .gallery-section .showcase-menu .project-list>.project-tab img{width:61px;height:67px}
 .gallery-section .showcase-caption{height:176px;min-height:176px;max-height:176px}
 .gallery-section .showcase-menu .menu-note{margin:10px 0 0}
}
@media(max-width:640px){
 .gallery-section .showcase-menu .project-list{
   grid-template-columns:repeat(2,minmax(0,1fr));
   grid-template-rows:repeat(4,clamp(154px,38vw,245px));gap:8px;
 }
 .gallery-section .showcase-menu .project-list>.project-tab,
 .gallery-section .showcase-menu .project-list>.project-tab:last-of-type{
   display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;
   grid-column:auto;width:100%;height:100%;min-height:0;max-height:none;
   overflow:hidden;padding:7px;gap:7px;
 }
 .gallery-section .showcase-menu .project-list>.project-tab img,
 .gallery-section .showcase-menu .project-list>.project-tab:last-of-type img{
   display:block;width:100%;height:auto;max-height:none;
   aspect-ratio:16/10;object-fit:cover;object-position:center;flex:0 0 auto;
 }
 .gallery-section .showcase-menu .project-list>.project-tab span:nth-child(2),
 .gallery-section .showcase-menu .project-list>.project-tab:last-of-type span:nth-child(2){
   display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;
   overflow:hidden;margin:0;padding:0 1px;font-size:11px;line-height:1.25;min-width:0;
 }
 .gallery-section .showcase-menu .project-list>.project-tab>span:last-child{display:none}
 .gallery-section .showcase-caption{
   height:198px;min-height:198px;max-height:198px;padding:20px 22px;
 }
 .gallery-section .showcase-caption h3{margin-bottom:5px}
 .gallery-section .showcase-caption p{-webkit-line-clamp:2;line-clamp:2}
}
@media(max-width:360px){
 .gallery-section .showcase-menu .project-list{grid-template-rows:repeat(4,156px);gap:7px}
 .gallery-section .showcase-menu .project-list>.project-tab{padding:6px;gap:5px}
 .gallery-section .showcase-caption{height:210px;min-height:210px;max-height:210px}
}
