@font-face {
  font-family: Studio;
  src: url(assets/sans.otf);
}
@font-face {
  font-family: Studio;
  src: url(assets/sans-bold.otf);
  font-weight: 700;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Studio, Arial, sans-serif;
}
button,
a,
input,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #7155fa;
  outline-offset: 5px;
}
button {
  min-height: 44px;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
[hidden] {
  display: none !important;
}
.tools {
  position: fixed;
  z-index: 20;
  bottom: 18px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tools button,
.tools a {
  background: #fff;
  color: #222;
  border: 1px solid #ddd;
  border-radius: 30px;
  min-height: 44px;
  padding: 12px 16px;
  font-size: 12px;
  text-decoration: none;
}
.tools button:disabled {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
noscript {
  display: block;
  padding: 12px;
  font-size: 13px;
  background: #fff;
  color: #222;
}
.paused * {
  animation-play-state: paused !important;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
body {
  color: #050505;
  background: #fff;
}
header {
  height: 200px;
  padding: 12px;
  display: grid;
  grid-template-columns: 1fr 2fr 3fr;
  gap: 20px;
}
header a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 16px;
}
.mark {
  width: 40px;
  height: 40px;
  align-self: start;
}
.mark svg {
  width: 40px;
  height: 40px;
}
.projects {
  align-self: start;
  margin-top: 11px;
}
.intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.intro p {
  max-width: 510px;
  font-size: 16px;
  line-height: 1.18;
  margin: 3px 0;
}
.intro p a {
  display: inline;
  min-height: 0;
  border: 1px solid black;
  font-size: inherit;
}
main {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  isolation: isolate;
  background: #bed8ff;
}
.atmosphere {
  position: absolute;
  inset: -20%;
  z-index: -2;
  background: linear-gradient(120deg, #a5d4ff, #dacdff 65%, #c4e9fb);
  filter: blur(38px);
}
.atmosphere i {
  position: absolute;
  border-radius: 45%;
  width: 65%;
  height: 85%;
  background: radial-gradient(ellipse, #a48cffbb, transparent 65%);
  left: 10%;
  top: 30%;
}
.atmosphere i:nth-child(2) {
  left: 45%;
  top: -20%;
  background: radial-gradient(ellipse, #faf5ffff, transparent 66%);
}
.atmosphere i:nth-child(3) {
  left: -20%;
  top: -5%;
  background: radial-gradient(ellipse, #85c6ffff, transparent 68%);
}
.motion-ready .atmosphere i {
  animation: drift 18s ease-in-out infinite alternate;
}
.motion-ready .atmosphere i:nth-child(2) {
  animation-delay: -8s;
}
.motion-ready .atmosphere i:nth-child(3) {
  animation-delay: -13s;
}
@keyframes drift {
  from {
    transform: translate(-12%, 0) scale(0.9);
  }
  to {
    transform: translate(18%, -15%) scale(1.25);
  }
}
#trails {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.trace {
  position: absolute;
  width: 60px;
  height: 60px;
  background: #fff;
  opacity: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.trace:nth-child(3n) {
  border-radius: 0;
}
.trace:nth-child(3n + 1) {
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.footer-layout {
  min-height: 800px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px;
  align-items: end;
}
.signature {
  grid-row: 1;
  grid-column: 1;
  align-self: end;
  min-width: 0;
}
.signature h1 {
  font-size: clamp(65px, 9.8vw, 160px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.85;
  white-space: normal;
  overflow-wrap: anywhere;
  margin: 0 0 10px;
}
.get-in-touch {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.get-in-touch button {
  background: none;
  border: 1px solid #777;
  border-radius: 3px;
  font-size: 12px;
  min-height: 44px;
  padding: 5px;
  overflow-wrap: anywhere;
}
.signature #status {
  font-size: 12px;
  min-height: 16px;
  margin: 0;
}
.practice {
  grid-row: 1;
  grid-column: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 200px;
  width: 50%;
  padding-bottom: 10px;
}
.practice p,
.credits {
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}
.practice h2 {
  font-size: 16px;
  margin: 0 0 10px;
  font-weight: 400;
}
.credits {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  margin-left: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-bottom: 14px;
}
.credits a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 14px;
}
.credits p {
  margin: 55px 0;
}
.credits button {
  background: none;
  border: 1px solid #111;
  border-radius: 24px;
  padding: 10px 15px;
}
.below {
  padding: 16px 12px 50px;
}
details {
  border-top: 1px solid #222;
  scroll-margin-top: 20px;
}
summary {
  font-size: 24px;
  padding: 22px 0;
  min-height: 44px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
details > p {
  max-width: 550px;
  font-size: 20px;
  line-height: 1.4;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.project-grid article {
  padding: 30px;
  background: #e7e8ee;
}
.geometry {
  width: 140px;
  height: 140px;
  background: #b3a0ff;
  margin: 30px auto;
}
.circle {
  border-radius: 50%;
}
.square {
  rotate: 15deg;
  background: #75bcff;
}
.project-grid h2 {
  font-size: 24px;
}
@media (max-width: 800px) {
  header {
    height: auto;
    min-height: 200px;
    grid-template-columns: 1fr 1fr;
    padding: 16px;
  }
  .intro {
    grid-column: 1/3;
    gap: 20px;
  }
  .projects {
    justify-self: end;
    margin-top: 0;
  }
  .intro p {
    font-size: 14px;
    max-width: 400px;
  }
  main,
  .footer-layout {
    min-height: 720px;
  }
  .footer-layout {
    padding: 20px 16px;
    grid-template-columns: 1fr 1fr;
    align-content: end;
    gap: 50px 18px;
  }
  .signature {
    grid-row: 2;
    grid-column: 1/3;
  }
  .signature h1 {
    font-size: clamp(58px, 13vw, 110px);
  }
  .practice {
    grid-column: 1;
    grid-row: 1;
    width: auto;
    gap: 90px;
  }
  .credits {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }
  .practice p,
  .credits {
    font-size: 13px;
  }
  .credits a {
    font-size: 12px;
  }
  .credits p {
    margin: 30px 0;
  }
  .get-in-touch {
    flex-wrap: wrap;
  }
  .get-in-touch button {
    min-height: 44px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
}
