:root {
  --bg: #000000;
  --fg: #f2f2f2;
  --muted: #666666;
  --muted-2: #4d4d4d;
}

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

html,
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
    Arial, sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Hamburger */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 100;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #777777;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle:hover span {
  background: #9a9a9a;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Navigation overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.menu a {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s ease;
}

.menu a:hover {
  color: #8c8c8c;
}

/* Home */
.home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  padding: 24px;
  animation: fade 1.6s ease-out both;
}

.logo {
  width: clamp(84px, 14vw, 136px);
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.wordmark {
  font-family: "Iceland", sans-serif;
  font-weight: 400;
  font-size: clamp(4.5rem, 22vw, 15rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--fg);
  white-space: nowrap;
  user-select: none;
}

.wordmark .vc {
  color: var(--muted);
}

/* Content pages */
.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 7.5rem 24px 6rem;
  animation: fade 0.8s ease-out both;
}

.page h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.page p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #d9d9d9;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.contact-form label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c8c8c;
  margin-top: 0.75rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  background: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 6px;
  color: var(--fg);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  outline: none;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #777777;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form button {
  align-self: flex-start;
  margin-top: 1.25rem;
  padding: 0.7rem 1.5rem;
  background: #f2f2f2;
  color: #000000;
  border: none;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form button:hover {
  background: #ffffff;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #8c8c8c;
  min-height: 1.2em;
}

/* Footer */
footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #4d4d4d;
  user-select: none;
  pointer-events: none;
  z-index: 80;
}

footer a {
  color: #4d4d4d;
  text-decoration: none;
  pointer-events: auto;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #8c8c8c;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home,
  .page {
    animation: none;
  }
}