/* Common rendering safeguards for current Firefox, Chrome and Edge. */
html { scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, svg { max-width: 100%; }
.logo { width: 124px; flex-shrink: 0; mix-blend-mode: normal; }
.logo img { display: block; width: 100%; height: auto; }
.footer-inner .logo { width: 124px; }
.hero-grid > *, .split > *, .cards > *, .project-example > *, .case-study > *, .legal-grid > * { min-width: 0; }
.section-heading, .section-head { align-items: flex-end; }
.contact-box { min-width: 0; }
.contact-box a, .legal-copy a { overflow-wrap: anywhere; word-wrap: break-word; }
.card h3 { overflow-wrap: break-word; hyphens: auto; }
.card-illustration svg { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; }
.site-header { background: #f6f8f7; }
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
 .site-header { background: rgba(246,248,247,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.hero-visual { isolation: isolate; }
.hero-visual::before, .hero-visual::after, .grid-lines { z-index: 0; pointer-events: none; }
.hero-visual .perspective-list { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transform: rotate(-5deg); z-index: 2; }
.hero-visual .perspective-list span { position: absolute; display: block; padding: 0; background: none; border: 0; box-shadow: none; font-family: 'Segoe UI', Arial, sans-serif; font-size: 15px; font-weight: 600; color: var(--blue); white-space: nowrap; line-height: 1.4; }
.hero-visual .perspective-list span:nth-child(1) { top: 22%; left: calc(24% - 10px); right: auto; bottom: auto; transform: none; padding-inline: 2px; }
.hero-visual .perspective-list span:nth-child(2) { top: 34%; right: 12%; left: auto; bottom: auto; transform: rotate(5deg); }
.hero-visual .perspective-list span:nth-child(3) { top: 50%; left: 50%; right: auto; bottom: auto; transform: translate(-50%,-50%); }
.hero-visual .perspective-list span:nth-child(4) { bottom: 27%; right: 12%; top: auto; left: auto; transform: rotate(-5deg); }
.hero-visual .perspective-list span:nth-child(5) { bottom: 14%; left: 19%; right: auto; top: auto; transform: rotate(4deg); }
.actions, .skills-cta { flex-wrap: wrap; }
button { font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
@media(max-width: 800px) {
 html { scroll-padding-top: 86px; }
 .hero-visual .perspective-list span { font-size: clamp(11px,2.5vw,14px); }
 .legal .legal-grid { grid-template-columns: 1fr; }
 nav.open { max-height: calc(100vh - 72px); overflow-y: auto; }
}
@media(prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .card { transition: none; }
}
