@font-face {
  font-family: "ABC Diatype";
  src: url("./fonts/ABCDiatypeVariable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; }
html { scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { overflow-x: hidden; background: #f5f5f5; user-select: none; -webkit-user-select: none; }
:root {
  --accent: #ff6b61;
  --site-gutter: 20px;
  --scene-word-span: calc(100vw - 40px);
}

html.has-custom-cursor, html.has-custom-cursor * { cursor: none !important; }
.site-cursor { position: fixed; z-index: 9999; top: 0; left: 0; width: 20px; height: 20px; border-radius: 50%; opacity: 0; pointer-events: none; transform: translate3d(-50%, -50%, 0); transition: opacity 120ms ease; will-change: transform; }
.site-cursor::before { content: ""; display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--accent); transform: scale(1); transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1); }
.site-cursor.is-hovered::before { transform: scale(2.4); }
.site-cursor.is-visible { opacity: 1; }
.click-spots { position: absolute; z-index: 30; inset: 0; pointer-events: none; }
.click-spot { position: absolute; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); transform: translate(-50%, -50%); animation: click-spot-fade 15s linear forwards; }
@keyframes click-spot-fade { from { opacity: 1; } to { opacity: 0; } }
.word-highlight__word { transition: color 220ms ease; }
.word-highlight__word.is-far { color: #72565c; }
.word-highlight__word.is-near { color: #b45a5e; }
.word-highlight__word.is-center { color: var(--accent); }

.tool-cycle--fullscreen {
  width: 100%;
  min-height: 0;
  height: 100vh;
  height: 100dvh;
}

.tool-cycle--fullscreen .tool-cycle__background { width: calc(var(--scene-word-span) * 1.09588); }
.tool-cycle--fullscreen .tool-cycle__menu {
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.tool-cycle--fullscreen .tool-cycle__menu-item {
  border: 0;
  font-size: 20px;
}
.tool-cycle--fullscreen .tool-cycle__menu-item--contact { border: 1px solid #e0e0e0; }
.tool-cycle--fullscreen .tool-cycle__footer {
  right: var(--site-gutter);
  left: var(--site-gutter);
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.tool-cycle--fullscreen .tool-cycle__bio { width: 400px; text-indent: 45px; font-size: 14px; }
.tool-cycle--fullscreen .tool-cycle__heading {
  gap: 2px;
  font-size: 40px;
}
.tool-cycle--fullscreen .tool-cycle__line {
  gap: 7.788px;
  min-height: 56px;
}
.tool-cycle--fullscreen .tool-cycle__copy--intro { width: 433px; }
.tool-cycle--fullscreen .tool-cycle__copy--building { width: 189px; }
.tool-cycle--fullscreen .tool-cycle__copy--using { width: 126px; }
.tool-cycle--fullscreen .tool-cycle__copy--ship { width: 321px; }
.tool-cycle--fullscreen .tool-cycle__switch { height: 52px; }
.tool-cycle--fullscreen .tool-cycle__switch--for { width: 299px; }
.tool-cycle--fullscreen .tool-cycle__switch--what { width: 395px; }
.tool-cycle--fullscreen .tool-cycle__switch--with { width: 210px; }
.tool-cycle--fullscreen .tool-cycle__variant {
  gap: 10px;
  padding: 0 20px 0 8px;
}
.tool-cycle--fullscreen .tool-cycle__icon {
  flex-basis: 42px;
  width: 42px;
  height: 42px;
}
.tool-cycle--fullscreen .tool-cycle__icon img { width: 42px; height: 42px; }
.tool-cycle--fullscreen .tool-cycle__icon--unicorn img { width: 36px; height: 36px; }
.tool-cycle--fullscreen .tool-cycle__icon--figma img { width: 26.6651px; height: 40.0029px; }
.tool-cycle--fullscreen .tool-cycle__icon--chatgpt img { width: 40px; height: 40px; }
.tool-cycle--fullscreen .tool-cycle__icon--codex img { width: 54.36px; height: 54.36px; }
.tool-cycle__mobile-for { display: none; }

@media (max-width: 900px) {
  .tool-cycle--fullscreen .tool-cycle__label--name { top: 20px; font-size: 24px; }
  .tool-cycle--fullscreen .tool-cycle__menu { top: 20px; gap: 6px; }
  .tool-cycle--fullscreen .tool-cycle__menu-item { padding-inline: 8px; font-size: 20px; }
  .tool-cycle--fullscreen .tool-cycle__footer { bottom: 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .tool-cycle--fullscreen .tool-cycle__bio { max-width: 100%; }
  .tool-cycle--fullscreen .tool-cycle__inner { padding-inline: 20px; }
  .tool-cycle--fullscreen .tool-cycle__heading { font-size: clamp(22px, 4vw, 40px); }
  .tool-cycle--fullscreen .tool-cycle__line { gap: 7.788px; }
  .tool-cycle--fullscreen .tool-cycle__copy { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .site-cursor, .site-cursor::before, .word-highlight__word { transition: none; }
}

@media (max-width: 620px) {
  :root { --site-gutter: 16px; }
  .tool-cycle--fullscreen { min-height: 0; height: 100dvh; }
  .tool-cycle--fullscreen .tool-cycle__background { width: auto; height: 650px; }
  .tool-cycle--fullscreen .tool-cycle__inner { display: flex; justify-content: center; width: 100%; max-width: none; padding: 0 16px; }
  .tool-cycle--fullscreen .tool-cycle__heading { flex: none; width: 353px; max-width: none; margin: 0; gap: 1.191px; font-size: 23.829px; line-height: 1.4; scale: min(1, calc((100vw - 32px) / 353px)); }
  .tool-cycle--fullscreen .tool-cycle__line { justify-content: center; gap: 4.64px; min-height: 33px; white-space: nowrap; }
  .tool-cycle--fullscreen .tool-cycle__line:first-child,
  .tool-cycle--fullscreen .tool-cycle__line:last-child { width: 100%; flex-wrap: wrap; row-gap: 1.191px; }
  .tool-cycle--fullscreen .tool-cycle__copy { width: auto; }
  .tool-cycle--fullscreen .tool-cycle__copy--intro,
  .tool-cycle--fullscreen .tool-cycle__copy--ship { width: 100%; text-align: center; }
  .tool-cycle__desktop-for { display: none; }
  .tool-cycle__mobile-for { display: inline; }
  .tool-cycle--fullscreen .tool-cycle__switch { height: 31px; }
  .tool-cycle--fullscreen .tool-cycle__switch--for { width: 178.658px; }
  .tool-cycle--fullscreen .tool-cycle__switch--what { width: 235.658px; }
  .tool-cycle--fullscreen .tool-cycle__switch--with { width: 125.658px; }
  .tool-cycle--fullscreen .tool-cycle__variant { gap: 5.957px; padding: 0 11.915px 0 4.766px; }
  .tool-cycle--fullscreen .tool-cycle__icon { flex-basis: 25.021px; width: 25.021px; height: 25.021px; }
  .tool-cycle--fullscreen .tool-cycle__icon img { width: 25.021px; height: 25.021px; }
  .tool-cycle--fullscreen .tool-cycle__icon--unicorn img { width: 21.45px; height: 21.45px; }
  .tool-cycle--fullscreen .tool-cycle__icon--figma img { width: 15.884px; height: 23.83px; }
  .tool-cycle--fullscreen .tool-cycle__icon--chatgpt img { width: 23.83px; height: 23.83px; }
  .tool-cycle--fullscreen .tool-cycle__icon--codex img { width: 32.4px; height: 32.4px; }
  .tool-cycle--fullscreen .tool-cycle__footer { right: 16px; bottom: 16px; left: 16px; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 20px; font-size: 10px; line-height: 1.4; }
  .tool-cycle--fullscreen .tool-cycle__bio { flex: 0 1 209px; width: 209px; min-width: 0; max-width: 209px; font-size: 10px; text-indent: 0; }
  .tool-cycle--fullscreen .tool-cycle__details { display: grid; flex: 0 0 auto; grid-template-columns: auto auto; justify-content: end; column-gap: 12px; row-gap: 6px; font-size: 10px; }
  .tool-cycle--fullscreen .tool-cycle__details [data-tool-cycle-date] { grid-column: 1; grid-row: 1; }
  .tool-cycle--fullscreen .tool-cycle__details [data-tool-cycle-time] { grid-column: 2; grid-row: 1; }
  .tool-cycle--fullscreen .tool-cycle__coordinates { grid-column: 1 / -1; grid-row: 2; justify-self: end; gap: 8px; }
  .tool-cycle--fullscreen .tool-cycle__coordinates img { width: 10px; height: 10px; }
}
