:root {
  --bg: #0a0a0a;
  --fg: #f5f5f5;
  --gray: #8a8a8a;
  --line: #222;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 200;
  -webkit-font-smoothing: antialiased;
}

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

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 10;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px clamp(24px, 5vw, 64px);
  mix-blend-mode: difference;
}
.nav-logo { height: 18px; width: auto; display: block; color: #fff; }
.link {
  font-size: 14px; font-weight: 300; letter-spacing: 0.08em; color: #fff;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.link:hover { background-size: 100% 1px; }

/* hero */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 24px 80px; text-align: center;
}
.hero h1 { margin: 0; }
.letters { width: min(72vw, 620px); height: auto; display: block; overflow: visible; }
.letters path { fill: var(--fg); }
.letters .L {
  transform-box: fill-box; transform-origin: 50% 100%;
  opacity: 0;
  animation: drop 1.1s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
  animation-delay: calc(var(--i) * 0.08s + 0.2s);
}
@keyframes drop {
  0% { opacity: 0; transform: translateY(-60%); }
  50% { opacity: 1; transform: translateY(0) scale(1.04, 0.94); }
  72% { transform: translateY(-6%) scale(0.99, 1.02); }
  100% { opacity: 1; transform: none; }
}

.tagline {
  margin: 48px 0 0;
  font-size: clamp(16px, 1.6vw, 20px); font-weight: 300;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray);
}

/* content */
.block {
  max-width: 1100px; margin: 0 auto;
  padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.statement {
  margin: 0; max-width: 880px;
  font-size: clamp(26px, 3.6vw, 46px); line-height: 1.3; letter-spacing: -0.01em;
}
.pillars {
  list-style: none; padding: 0; margin: clamp(64px, 9vw, 120px) 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px;
}
.pillars li { border-top: 1px solid var(--line); padding-top: 24px; }
.pillars span { font-size: 12px; letter-spacing: 0.2em; color: #555; }
.pillars h2 { margin: 18px 0 10px; font-weight: 300; font-size: 28px; letter-spacing: 0.01em; }
.pillars p { margin: 0; color: var(--gray); font-weight: 300; line-height: 1.6; }
@media (max-width: 760px) { .pillars { grid-template-columns: 1fr; gap: 36px; } }

.contact { text-align: left; }
.label { margin: 0 0 20px; font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray); font-weight: 300; }
.mail {
  font-size: clamp(32px, 6vw, 72px); letter-spacing: -0.02em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.6s var(--ease), color 0.3s;
}
.mail:hover { background-size: 100% 1px; }

.footer {
  display: flex; justify-content: space-between;
  padding: 32px clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--line);
  font-size: 13px; font-weight: 300; color: #666; letter-spacing: 0.04em;
}

/* fade-in */
.fade { opacity: 0; transform: translateY(16px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.fade.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .letters .L { animation: none; opacity: 1; }
  .fade { opacity: 1; transform: none; transition: none; }
}
