:root {
  --ink: #0A0A0A;
  --paper: #F1F1EF;
  --pad: clamp(20px, 5cqw, 72px);
  --text: clamp(20px, 1.7cqw, 24px);
  --kern-rf: 0.03em;
  --neb: .45;
}

body {
  margin: 0;
  background: var(--paper);
}

/* Page frame */
.pk {
  container-type: inline-size;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter Tight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.pk-main {
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: var(--pad) 0 var(--pad) var(--pad);
}

/* Wordmark */
.pk-w {
  position: relative;
  align-self: flex-start;
  cursor: default;
}

.pk-wm {
  margin: 0 0 -0.15em;
  padding: 0 0.06em 0.15em 0;
  font-size: 11cqw;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.pk-wm > span {
  display: inline;
}

/* Kerning: open the r-f pair, which touches at this tracking */
.pk-k {
  letter-spacing: var(--kern-rf);
}

@container (max-width: 720px) {
  .pk-wm {
    font-size: 24cqw;
  }

  .pk-wm > span {
    display: block;
  }
}

/* Nebula hover on the wordmark */
.pk-fade {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}

.pk-w:hover .pk-fade {
  opacity: var(--neb);
  transition: opacity .9s ease;
}

.pk-o {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  white-space: nowrap;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  background-color: #1A0B3D;
  background-image:
    radial-gradient(ellipse 30% 90% at 20% 40%, rgba(255, 79, 184, .55) 0, transparent 70%),
    radial-gradient(ellipse 28% 100% at 55% 60%, rgba(63, 224, 255, .5) 0, transparent 70%),
    radial-gradient(ellipse 30% 90% at 85% 35%, rgba(138, 91, 255, .55) 0, transparent 70%);
  background-size: 160% 100%, 170% 100%, 150% 100%;
  background-repeat: no-repeat;
  background-position: 0 0, 100% 0, 30% 0;
}

.pk-w:hover .pk-o {
  animation: pk-neb 24s ease-in-out infinite alternate;
}

@keyframes pk-neb {
  to {
    background-position: 100% 0, 0 0, 90% 0;
  }
}

/* Rule and columns */
.pk-rule {
  height: 1px;
  background: var(--ink);
  margin-top: clamp(24px, 3cqw, 44px);
}

.pk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 32px;
  margin-top: clamp(24px, 2.4cqw, 32px);
  padding-right: var(--pad);
}

.pk-sec {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pk-sec h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.pk-proj {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pk-t {
  margin: 0;
  font-size: var(--text);
  line-height: 1.3;
}

.pk-b {
  font-weight: 500;
}

/* Links: block hover */
.pk-l {
  position: relative;
  isolation: isolate;
  align-self: flex-start;
  display: inline-block;
  padding-bottom: 14px;
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color .25s ease;
}

.pk-l::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  top: .1em;
  width: 100%;
  height: 1.3em;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .25s ease;
  background-color: var(--ink);
}

.pk-l:hover,
.pk-l:focus-visible {
  color: var(--paper);
}

.pk-l:hover::before,
.pk-l:focus-visible::before {
  clip-path: inset(0);
}

.pk-ext {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.pk-ext svg {
  width: 0.6em;
  height: 0.6em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

/* Footer mark */
.pk-foot {
  margin-top: auto;
  padding-top: 48px;
  display: flex;
}

.pk-mark {
  display: flex;
  align-items: baseline;
  gap: 0.08em;
  font-size: clamp(22px, 2.5cqw, 36px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.04em;
}

.pk-mark p {
  margin: 0;
}

.pk-plus {
  flex: none;
  display: block;
  width: 1.75em;
  height: 1.75em;
}

.pk-plus svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  .pk-l,
  .pk-l::before {
    transition: none;
  }

  .pk-w:hover .pk-o {
    animation: none;
  }
}
