﻿@font-face {
  font-family: 'Factually Handwriting';
  src: url('assets/fonts/FactuallyHandwriting_PERSONAL_USE_ONLY.otf') format('opentype');
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #000000;
  --text: #e6e6e6;
  --link: #7f7f7f;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Factually Handwriting', 'Helvetica Neue', Arial, sans-serif;
  overflow: hidden;
}

.stage {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
}

.link-cluster {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.link {
  position: absolute;
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  transform: rotate(-12deg);
  pointer-events: auto;
}

.link-contact {
  top: 12vh;
  left: 52vw;
}

.link-project1 {
  top: 22vh;
  left: 60vw;
}

.link-project2 {
  top: 30vh;
  left: 47vw;
}

.link-project3 {
  top: 35vh;
  left: 50vw;
}

.link-project4 {
  top: 40vh;
  left: 41vw;
}

.statement {
  position: absolute;
  left: 7vw;
  top: 64vh;
  display: flex;
  align-items: center;
  gap: 2.2vw;
  font-size: clamp(12px, 1.2vw, 16px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: rotate(-18deg);
  transform-origin: left top;
  white-space: nowrap;
}

.word {
  display: inline-block;
  transform: translateY(var(--offset));
}

.sketch {
  position: absolute;
  right: 14vw;
  bottom: 8vh;
  width: clamp(180px, 22vw, 300px);
  height: auto;
  opacity: 0.95;
}

@media (max-width: 900px) {
  .stage {
    min-height: 520px;
  }

  .statement {
    left: 4vw;
    top: 66vh;
    gap: 1.4vw;
    letter-spacing: 0.12em;
  }

  .sketch {
    right: 8vw;
    width: clamp(170px, 36vw, 260px);
  }
}

@media (max-width: 640px) {
  .link {
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .link-contact {
    top: 10vh;
    left: 48vw;
  }

  .link-project1 {
    top: 20vh;
    left: 52vw;
  }

  .link-project2 {
    top: 28vh;
    left: 38vw;
  }

  .link-project3 {
    top: 33vh;
    left: 42vw;
  }

  .link-project4 {
    top: 38vh;
    left: 32vw;
  }

  .statement {
    top: 68vh;
    gap: 1vw;
    font-size: 11px;
  }

  .sketch {
    right: 6vw;
    bottom: 6vh;
  }
}

