/* GIOKARBON V83 | restrained finishing system | 2026-11-21 */
:root{
  --gk83-black:var(--gk85-bg); --gk83-charcoal:var(--gk85-elevated);
  --gk83-paper:var(--gk85-text); --gk83-muted:var(--gk85-muted);
  --gk83-line:rgba(var(--gk85-text-rgb),0.16);
  --gk83-space-1:4px;--gk83-space-2:8px;--gk83-space-3:12px;
  --gk83-space-4:16px;--gk83-space-6:24px;--gk83-space-8:32px;
  --gk83-space-12:48px;--gk83-space-16:64px;
  --gk83-reading:74ch;--gk83-reading-technical:84ch;
  --gk83-motion:200ms cubic-bezier(.2,.7,.2,1);
}
html{scroll-padding-top:135px;-webkit-text-size-adjust:100%;text-size-adjust:100%;}
:where(main) :where(h2,h3,h4,[id]){scroll-margin-top:135px;}
:where(main) :where(p,li){overflow-wrap:break-word;}
:where(main) :where(.v22-article-prose,.gk-article-body,.c67-article-body,.c76-story-chapter){text-wrap:pretty;}
:where(main) :where(.v22-article-prose,.gk-article-body,.c67-article-body) p{line-height:1.73;}
:where(main) :where(.v22-article-prose,.gk-article-body,.c67-article-body) h2{line-height:1.17;letter-spacing:-.025em;text-wrap:balance;}
:where(main) :where(.v22-article-prose,.gk-article-body,.c67-article-body) h3{line-height:1.26;text-wrap:balance;}
:where(main) :where(.v22-article-prose,.gk-article-body,.c67-article-body) p, 
:where(main) :where(.v22-article-prose,.gk-article-body,.c67-article-body) ul{
  max-width:var(--gk83-reading-technical);
}
:where(main) a{transition:color var(--gk83-motion),border-color var(--gk83-motion),background-color var(--gk83-motion);}
:where(main) a:focus-visible,:where(header,footer,nav) a:focus-visible,:where(main) button:focus-visible,
:where(main) input:focus-visible,:where(main) textarea:focus-visible,:where(main) select:focus-visible,
:where(main) summary:focus-visible{outline:2px solid var(--gk85-text)!important;outline-offset:4px!important;}
:where(main) :where(input,textarea,select){accent-color:var(--gk85-text);}
:where(main) :where(input,textarea,select)::placeholder{color:var(--gk85-muted);opacity:1;}
:where(.c70-provenance,.c70-disclosure,.c67-gallery-foot,.c76-service-stage){color:var(--gk83-muted);}
:where(main) figcaption{max-width:var(--gk83-reading);line-height:1.55;}
:where(.c69-collection,.c67-gallery,.c76-home-services){min-width:0;}
:where(.c76-home-service-card,.c69-collection-item){isolation:isolate;}
:where(main) :where(img,video){max-width:100%;}
:where(main) :where(figure,picture){min-width:0;}
:where(.header,.footer) a{outline-offset:4px;}
:where(button,[type=submit],[role=button]){touch-action:manipulation;}
:where(html[lang=fa]) :where(code,bdi,.gk-technical-term){direction:ltr;unicode-bidi:isolate;}
:where(html[lang=fa]) :where(h1,h2,h3,p,li){letter-spacing:normal;}
@media(max-width:900px){
  :where(.header) :where(a,button,[role=button]){min-height:36px;}
  :where(main) :where(button,[type=submit],[role=button]){min-height:44px;}
}
@media(max-width:620px){
  :where(main) :where(.v22-article-prose,.gk-article-body,.c67-article-body) p{font-size:clamp(1rem,3.8vw,1.09rem);line-height:1.72;}
  :where(main) :where(.v22-article-prose,.gk-article-body,.c67-article-body) h2{overflow-wrap:break-word;}
  :where(main) .c76-home-card-content p{line-height:1.58;}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto!important;}
  :where(main) a{transition:none!important;}
  :where(main) [data-gk-reveal],:where(main) .gk-motion-target{animation:none!important;transition:none!important;opacity:1!important;}
}
/* On small screens, protect vehicle recognition while keeping the headline legible below. */
@media(max-width:620px){
  html.gk-motion-stage[data-gk-page="home"] .hero-vignette{
    background:linear-gradient(0deg,var(--gk85-bg) 0%,rgba(var(--gk85-bg-rgb),0.98) 16%,rgba(var(--gk85-bg-rgb),0.83) 28%,rgba(var(--gk85-bg-rgb),0.13) 53%,rgba(var(--gk85-bg-rgb),0.02) 75%,rgba(var(--gk85-bg-rgb),0.1) 100%)!important;
  }
  html.gk-motion-stage[data-gk-page="home"] .hero-photo img{filter:brightness(1.12)!important;}
}
