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

html {
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
  background: var(--b-900);
  scrollbar-width: none;
}

html::-webkit-scrollbar {
  display: none;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--b-900);
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

em {
  font-style: normal;
}

::selection {
  background: var(--honey-300);
  color: var(--b-900);
}

:focus-visible {
  outline: 2px solid var(--honey-300);
  outline-offset: 4px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: fixed;
  top: var(--sp-sm);
  left: var(--sp-sm);
  z-index: 1000;
  padding: var(--sp-xs) var(--sp-sm);
  background: var(--honey-300);
  color: var(--b-900);
  font-weight: 700;
  border-radius: var(--r-md);
  transform: translateY(-200%);
  transition: transform var(--med) var(--ease);
}

.skip-link:focus {
  transform: none;
}

#scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}

main {
  position: relative;
  z-index: 1;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Typografie (Shinefour Design System) */
.sf-h1 {
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.sf-h2 {
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.sf-h1 em,
.sf-h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--honey-300);
}

.sf-body-lg {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.65;
  color: var(--text-soft);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.eyebrow--honey {
  color: var(--honey-300);
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--honey-400);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  animation: pulse 2.4s var(--ease-in-out) infinite;
}

@keyframes pulse {
  50% {
    transform: scale(0.6);
    opacity: 0.6;
  }
}

/* Reveals */
html.is-enhanced [data-rv] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 900ms var(--ease),
    transform 900ms var(--ease);
  transition-delay: var(--rv-delay, 0ms);
}

html.is-enhanced [data-rv='fade'] {
  transform: none;
}

html.is-enhanced [data-rv].is-in {
  opacity: 1;
  transform: none;
}

.mask-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

.mask-line > span {
  display: block;
}

html.is-enhanced .mask-line > span {
  transform: translateY(110%);
  transition: transform 1100ms var(--ease);
  transition-delay: calc(var(--line, 0) * 110ms + 150ms);
}

html.is-enhanced .is-in .mask-line > span,
html.is-enhanced .mask-line.is-in > span {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.is-enhanced [data-rv],
  html.is-enhanced .mask-line > span {
    transition-duration: 1ms;
    transform: none;
  }

  .dot {
    animation: none;
  }
}
