*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--stanel-charcoal-deep);
  background: var(--stanel-warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video {
  display: block;
  max-width: 100%;
}
img {
  image-rendering: auto;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
}
.font-mono { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.06em; }

.overline {
  font-family: var(--font-mono);
  font-size: var(--text-overline);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stanel-orange);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.reveal {
  opacity: 0;
  translate: 0 28px;
  transition: opacity var(--dur) var(--ease), translate var(--dur) var(--ease);
}
.reveal.is-visible { opacity: 1; translate: 0 0; }

html:not(.js-ready) .reveal,
html:not(.js-ready) .biz-masonry__item,
html:not(.js-ready) .group-more__gallery-cell {
  opacity: 1;
  translate: none;
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

.ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  transition: gap 0.35s var(--ease), color 0.35s var(--ease), opacity 0.35s var(--ease);
}
.ghost-link:hover { gap: 0.9rem; }
.ghost-link--light { color: var(--stanel-white); }
.ghost-link--light:hover { color: var(--stanel-green-light); }
.ghost-link--dark { color: var(--stanel-green-dark); }
.ghost-link--dark:hover { color: var(--stanel-orange); }
.ghost-link--orange { color: var(--stanel-orange); }

:is(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--stanel-orange);
  outline-offset: 3px;
}

:is(.site-nav a, .mobile-nav a, .ghost-link, .footer-heirs a):focus-visible {
  outline-color: var(--stanel-green);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; translate: none; }
}
