/* stuservis craft layer 2026-11-05 — additive, core untouched. Browser-surface theming + interactive services grid. Reduced-motion safe. */
/* 1 — selection: brand highlight (very visible on any text drag) */
::selection{background:var(--red,#e31e24);color:#fff}
::-moz-selection{background:var(--red,#e31e24);color:#fff}
/* 2 — scrollbar themed to the brand, site-wide */
html{scrollbar-width:thin;scrollbar-color:rgba(16,19,18,.38) transparent}
::-webkit-scrollbar{width:12px;height:12px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:rgba(16,19,18,.34);border-radius:10px;border:3px solid transparent;background-clip:content-box}
::-webkit-scrollbar-thumb:hover{background:var(--red,#e31e24);background-clip:content-box}
/* 3 — anchor jumps clear the sticky header */
[id]{scroll-margin-top:92px}
/* 4 — text links: consistent underline offset */
a{text-underline-offset:.16em}
/* 5 — services index grid: make the 15 rows feel alive (currently flat). Lift + arrow nudge on hover. */
.service-pages .detail-card{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background .2s ease}
.service-pages .detail-card:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(16,19,18,.10);border-color:rgba(16,19,18,.24)}
.service-pages .detail-card:active{transform:translateY(-1px)}
.service-pages .detail-card::after{transition:transform .2s ease}
.service-pages .detail-card:hover::after{transform:translateX(4px)}
/* 6 — explorer tabs + detail cards: smoother arrow motion already on core; add card focus ring parity */
.service-pages .detail-card:focus-visible{outline:2px solid var(--red,#e31e24);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.service-pages .detail-card,.service-pages .detail-card::after{transition:none!important}.service-pages .detail-card:hover{transform:none!important}}
/* 7 — header: always-readable glass bar (fixes invisible nav on light inner pages) + logo sits intentionally, not floating */
.site-header{background:linear-gradient(to bottom,rgba(11,13,12,.74) 0%,rgba(11,13,12,.5) 58%,rgba(11,13,12,0) 100%);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.site-header.scrolled{background:rgba(12,15,14,.93);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
/* 8 — new İletişim button (ghost/outline), sits before the primary CTA */
.header-contact{display:inline-flex;align-items:center;min-height:2.9rem;padding:.72rem 1.1rem;border:1px solid rgba(255,255,255,.55);border-radius:2px;font-size:.8rem;font-weight:600;color:#fff;white-space:nowrap;transition:background .18s ease,color .18s ease,border-color .18s ease}
.header-contact:hover{background:#fff;color:var(--ink,#101312);border-color:#fff}
.site-header.scrolled .header-contact{border-color:rgba(255,255,255,.45)}
@media (max-width:900px){.header-contact{display:none}}

/* 9 — logo fixes. Footer logo was distorted: core sets .footer-brand img{width} but no height,
   so the HTML height="436" attribute stayed as a fixed pixel height and squished the image.
   Restore the aspect ratio, and give the (now transparent, white) mark clean sizing in both chrome. */
.footer-brand img{height:auto!important;object-fit:contain}
.brand img,.footer-brand img{image-rendering:auto}

/* 10 — numeric counters as tabular mono, a touch larger (matches the engineering stat register) */
.product-list span,.service-tabs span,.principle-no,.process-copy>span,.mobile-menu nav a span{
  font-family:var(--font-mono);font-feature-settings:'tnum' 1;font-weight:600;font-size:1.02rem;letter-spacing:.015em}
/* 11 — brand-red micro-labels nudged to WCAG-AA contrast, kept within brand tolerance */
.principle-no,.process-copy>span,.detail-meta a{color:#cf1420}   /* on light grounds -> slightly deeper */
.product-list span,.mobile-menu nav a span{color:#ff4c52}        /* on the dark hero/menu -> slightly brighter */
