:root {
  --ink: #0a0a0a;
  --ink-2: #131313;
  --cream: #f2efe6;
  --stone: #8a8579;
  --stone-dim: #4d4a43;
  --sage: #c7d491;
  --glass-border: rgba(242, 239, 230, 0.14);
  --ease: cubic-bezier(0.16, 0.8, 0.24, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
}

body {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 75% at 50% 88%,
    rgba(199, 212, 145, 0.055),
    transparent 62%
  );
}

.caps {
  font-family: "Unbounded", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero.coming-soon {
  position: relative;
  z-index: 1;
  height: 60vh;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 6vw;
  text-align: center;
  font-family: "Bodoni Moda", "Bodoni MT", "Didot", serif;
  font-weight: 400;
}

.eyebrow {
  margin: 0;
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  text-transform: lowercase;
  color: var(--stone);
}

.wordmark {
  margin: 0.25rem 0 0;
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.15;
  color: var(--cream);
}

.tagline {
  margin: 0.75rem 0 0;
  max-width: 520px;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: var(--stone);
}

.hero .scroll-hint {
  margin-top: 40px;
  font-size: 11px;
  color: var(--stone-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: lowercase;
  letter-spacing: 0.08em;
}

.hero .scroll-hint::after {
  content: "";
  width: 1px;
  height: 26px;
  background: linear-gradient(var(--sage), transparent);
}

.tunnel-wrap {
  position: relative;
  z-index: 1;
  height: 520vh;
}

.tunnel-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  perspective: 900px;
  perspective-origin: 50% 50%;
}

.tunnel-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.flying-folder {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 190px;
  padding: 18px 20px 20px;
  border-radius: 4px 20px 20px 20px;
  background: linear-gradient(
    165deg,
    rgba(242, 239, 230, 0.1),
    rgba(242, 239, 230, 0.045)
  );
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(6px);
  will-change: transform, opacity;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.flying-folder .tab {
  position: absolute;
  top: -15px;
  left: 0;
  padding: 6px 14px 8px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(
    165deg,
    rgba(199, 212, 145, 0.24),
    rgba(199, 212, 145, 0.1)
  );
  border: 1px solid rgba(199, 212, 145, 0.3);
  border-bottom: none;
  font-size: 9.5px;
  color: var(--sage);
  font-family: "Unbounded", sans-serif;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.flying-folder .title {
  margin-top: 14px;
  font-size: 15px;
  font-family: "Unbounded", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--cream);
  line-height: 1.3;
}

.flying-folder .sub {
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--stone);
  font-weight: 400;
  font-family: "Manrope", sans-serif;
}

.tunnel-fixed-caption {
  position: absolute;
  bottom: 7vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  text-align: center;
  pointer-events: none;
}

.tunnel-fixed-caption .cap {
  font-family: "Unbounded", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--stone);
}

.tunnel-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--sage);
  z-index: 31;
  transition: width 0.05s linear;
}

@media (max-width: 760px) {
  .flying-folder {
    width: 150px;
    padding: 14px 16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
