@font-face {
  font-family: "Inter";
  src: url("/assets/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #080808;
  --foreground: #f2f0eb;
  --muted: #a3a19d;
  --rule: #333332;
  --gutter: 6.25vw;
  --accent: #d6ff62;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--background);
  background: var(--accent);
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 6px;
}

.header,
.footer {
  padding-inline: var(--gutter);
  font-size: 11px;
  font-weight: 450;
  line-height: 1.4;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}

.identity,
.role {
  padding-block: 26px;
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.identity-dot,
.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.role {
  color: var(--muted);
}

.main {
  display: flex;
  align-items: center;
  padding-block: clamp(24px, 4vh, 64px);
}

.headline {
  width: 100%;
  margin: 0;
  font-size: min(12.25vw, 17svh);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.line {
  display: flex;
  position: relative;
  height: min(13.25vw, 17.2svh);
  padding-inline: var(--gutter);
  overflow: hidden;
  border-top: 1px solid var(--rule);
}

.line:last-child {
  border-bottom: 1px solid var(--rule);
}

.line-inner {
  display: inline-flex;
  position: relative;
  align-items: center;
  padding-right: 2.4vw;
  will-change: transform;
  transform: translateX(var(--shift, 0px));
  transition: transform 1.4s var(--ease);
}

.line-name {
  font-size: min(8.95vw, 17svh);
  word-spacing: 0.07em;
}

.line-is {
  padding-left: 62.5%;
}

.line-soon {
  justify-content: flex-end;
}

.line-soon .line-inner {
  padding-right: 0;
  padding-left: 2.4vw;
}

.end-rule {
  position: absolute;
  inset: 0 0 0 auto;
  width: 1px;
  background: var(--rule);
}

.line-soon .end-rule {
  right: auto;
  left: 0;
}

.word {
  display: block;
  white-space: nowrap;
  animation: reveal 1.45s var(--ease) both;
  animation-delay: var(--delay, 100ms);
}

.line-is { --delay: 230ms; }
.line-coming { --delay: 360ms; }
.line-soon { --delay: 490ms; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
  border-top: 1px solid var(--rule);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 48px;
  transition: color 200ms ease;
}

.link span {
  position: relative;
}

.link span::after {
  content: "";
  position: absolute;
  inset: auto 0 -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease);
}

.link:hover,
.identity:hover {
  color: var(--accent);
}

.link:hover span::after,
.link:focus-visible span::after {
  transform: scaleX(1);
}

.link svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 300ms var(--ease);
}

.link:hover svg {
  transform: translate(2px, -2px);
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 10px;
}

.status-dot {
  animation: pulse 3s ease-in-out 2;
}

.socials {
  display: flex;
  gap: 36px;
}

.cursor {
  position: fixed;
  z-index: 10;
  top: -16px;
  left: -16px;
  width: 32px;
  height: 32px;
  pointer-events: none;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 200ms ease, width 200ms ease, height 200ms ease, margin 200ms ease;
}

.cursor.is-visible { opacity: 0.75; }
.cursor.is-link { width: 48px; height: 48px; margin: -8px; }

@keyframes reveal {
  from { transform: translateY(115%) rotate(3deg); }
  to { transform: translateY(0) rotate(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@media (max-width: 700px) {
  :root { --gutter: 24px; }
  .header { min-height: 68px; }
  .header, .footer { font-size: 10px; }
  .main { padding-block: clamp(24px, 5svh, 64px); }
  .headline { font-size: 18vw; }
  .line { height: 21vw; }
  .line-name { font-size: 9.35vw; }
  .line-is { padding-left: 61%; }
  .line-inner { padding-right: 18px; }
  .line-soon .line-inner { padding-left: 18px; }
  .footer { min-height: 132px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding-block: 10px; }
  .contact { grid-column: 1; grid-row: 1; justify-self: start; }
  .status { grid-column: 1 / -1; grid-row: 2; font-size: 9px; }
  .socials { grid-column: 2; grid-row: 1; gap: 20px; justify-content: flex-end; }
  .socials .link { gap: 7px; }
  .cursor { display: none; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .header, .footer { font-size: 9px; }
  .socials { gap: 12px; }
  .identity { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .line-inner { transform: none !important; }
  .cursor { display: none; }
}

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}
