@font-face {
  font-family: "Archivo";
  src: url("./fonts/archivo-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

@font-face {
  font-family: "JetBrains Mono";
  src: url("./fonts/jetbrains-mono-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  --ink: #111214;
  --paper: #f1f2eb;
  --paper-2: #b9bab5;
  --blue-soft: #dfe6ff;
  --lime: #caff3a;
  --blue: #3157ff;
  --rule: rgba(241, 242, 235, 0.22);
  --rule-dark: rgba(17, 18, 20, 0.24);
  --display: "Archivo", Arial, sans-serif;
  --mono: "JetBrains Mono", monospace;
  --t-label: 0.75rem;
  --t-body: 1.125rem;
  --t-lead: 1.375rem;
  --t-h3: clamp(2rem, 3.4vw, 3rem);
  --t-h2: clamp(3rem, 6.5vw, 6rem);
  --t-h1: clamp(3.25rem, 7vw, 8rem);
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-6: 3rem;
  --s-8: 4rem;
  --s-12: 6rem;
  --s-16: 8rem;
  --s-20: 10rem;
  --pad: clamp(1.25rem, 3.2vw, 3.75rem);
  --section-y: clamp(var(--s-12), 10vw, var(--s-20));
  --header-h: 5.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: var(--t-body);
  line-height: 1.5;
}

body.cursor-ready,
body.cursor-ready a,
body.cursor-ready button {
  cursor: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 4px;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: var(--s-2);
  left: var(--s-2);
  z-index: 300;
  padding: 0.75rem 1rem;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--mono);
  font-size: var(--t-label);
  text-transform: uppercase;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 100;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--lime);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0);
  transition: width 180ms ease, height 180ms ease, background 180ms ease,
    opacity 180ms ease;
  mix-blend-mode: difference;
}

.cursor span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: var(--lime);
  transform: translate(-50%, -50%);
}

.cursor.is-active {
  width: 4rem;
  height: 4rem;
  background: var(--lime);
}

.progress {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  width: 3px;
  background: rgba(241, 242, 235, 0.08);
}

.progress span {
  display: block;
  width: 100%;
  height: 0;
  background: var(--lime);
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 500ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-title .reveal:nth-child(2) {
  transition-delay: 70ms;
}

.hero-title .reveal:nth-child(3) {
  transition-delay: 140ms;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 90;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-4);
  height: var(--header-h);
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--rule);
  background: var(--ink);
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.65rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.wordmark-mark {
  display: grid;
  place-items: center;
  width: var(--s-4);
  height: var(--s-4);
  background: var(--lime);
  color: var(--ink);
  font-size: 1.05rem;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.status-dot {
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--lime);
}

.site-header nav {
  display: flex;
  justify-self: end;
  gap: clamp(var(--s-2), 2.4vw, 2.4rem);
}

.site-header nav a {
  position: relative;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: -0.4rem;
  left: 0;
  height: 1px;
  background: var(--lime);
  transition: right 220ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  right: 0;
}

.hero {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) minmax(19rem, 31vw);
  min-height: 100svh;
  padding-top: var(--header-h);
  border-bottom: 1px solid var(--rule);
}

.hero-index {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) 0;
  border-right: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-index span:nth-child(2),
.hero-index span:nth-child(3) {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-main {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(var(--s-6), 6vh, 5rem) var(--pad) var(--s-4);
}

.eyebrow,
.section-kicker,
.contact-top,
.mono-note,
.work-number,
.work-role,
.work-year,
.work-name small {
  font-family: var(--mono);
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 var(--s-4);
  color: var(--lime);
}

.hero-title {
  margin: auto 0;
  font-size: var(--t-h1);
  font-stretch: 112%;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.hero-title .line {
  display: block;
  padding-right: 0.08em;
}

.hero-title .line > span {
  display: block;
}

.hero-title .offset {
  margin-left: clamp(0rem, 5vw, 5rem);
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.12vw, 2px) var(--paper);
}

@supports not (-webkit-text-stroke: 1px black) {
  .hero-title .offset {
    color: var(--paper);
  }
}

.hero-title .punch {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin-top: 0.14em;
}

.punch-sticker {
  width: fit-content;
  padding: 0.06em 0.15em 0.09em 0.1em;
  background: var(--lime);
  color: var(--ink);
  transform: rotate(-1.2deg);
}

.hero-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-6);
}

.hero-footer p {
  max-width: 34rem;
  margin: 0;
  color: var(--paper-2);
  font-size: var(--t-body);
}

.round-link {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: var(--s-8);
  height: var(--s-8);
  border: 1px solid var(--paper);
  border-radius: 50%;
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.round-link:hover,
.round-link:focus-visible {
  border-color: var(--lime);
  background: var(--lime);
  color: var(--ink);
}

.round-link svg {
  width: var(--s-3);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  padding: var(--s-3);
  background: var(--blue);
  color: var(--paper);
}

.art-frame {
  position: relative;
  aspect-ratio: 0.82;
  border: 1px solid var(--paper-2);
}

.art-disc {
  position: absolute;
  top: 10%;
  right: -14%;
  width: 68%;
  aspect-ratio: 1;
  border: clamp(1.4rem, 3vw, 3.6rem) solid var(--lime);
  border-radius: 50%;
  box-shadow: -1.4rem 1.2rem 0 rgba(17, 18, 20, 0.24);
  transform: rotateX(58deg) rotateZ(-22deg);
}

.art-label {
  position: absolute;
  bottom: 1.1rem;
  left: 1.25rem;
  font-size: clamp(2rem, 3.4vw, 4.5rem);
  font-stretch: 108%;
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.04em;
}

.art-cross,
.art-cross::before {
  position: absolute;
  width: 3.8rem;
  height: 0.7rem;
  background: var(--paper);
  content: "";
}

.art-cross {
  top: 1.2rem;
  left: 1.2rem;
}

.art-cross::before {
  transform: rotate(90deg);
}

.art-tag {
  position: relative;
  align-self: flex-end;
  margin-top: var(--s-2);
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-pad {
  padding-right: var(--pad);
  padding-left: var(--pad);
}

.section-kicker {
  display: grid;
  grid-template-columns: var(--s-8) 1fr;
  gap: var(--s-2);
  padding-top: var(--s-2);
  border-top: 1px solid currentColor;
}

.statement {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  background: var(--paper);
  color: var(--ink);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr);
  align-items: end;
  gap: clamp(var(--s-6), 8vw, 8rem);
  margin-top: clamp(var(--s-6), 8vw, 7rem);
}

.statement-title {
  max-width: 13ch;
  margin: 0;
  font-size: var(--t-h2);
  font-stretch: 110%;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.statement-copy {
  padding-bottom: var(--s-1);
}

.statement-copy > p:first-child {
  margin: 0;
  font-size: var(--t-lead);
  line-height: 1.35;
}

.mono-note {
  margin: var(--s-6) 0 0;
  color: #555753;
}

.work {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  background: var(--ink);
}

.work-index {
  margin-top: var(--s-8);
  border-top: 1px solid var(--rule);
}

.work-row {
  position: relative;
  display: grid;
  grid-template-columns: var(--s-8) minmax(0, 1fr) minmax(13rem, 0.5fr) auto;
  align-items: center;
  gap: var(--s-2);
  min-height: 8rem;
  border-bottom: 1px solid var(--rule);
  transition: opacity 500ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 250ms ease, background 250ms ease, color 250ms ease;
}

.work-row:hover,
.work-row:focus-visible {
  padding-right: var(--s-2);
  padding-left: var(--s-2);
  background: var(--paper);
  color: var(--ink);
}

.work-name {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.work-name strong {
  font-size: var(--t-h3);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.work-name small,
.work-role {
  color: var(--paper-2);
}

.work-row:hover .work-name small,
.work-row:hover .work-role,
.work-row:focus-visible .work-name small,
.work-row:focus-visible .work-role {
  color: #555753;
}

.work-role,
.work-year,
.work-number {
  position: relative;
  z-index: 2;
}

.work-preview {
  position: absolute;
  top: 0.75rem;
  right: 5.5rem;
  bottom: 0.75rem;
  z-index: 1;
  width: clamp(11rem, 21vw, 19rem);
  overflow: hidden;
  border: 1px solid currentColor;
  opacity: 0;
  transform: translateX(1rem);
  transition: opacity 250ms ease, transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.work-row:hover .work-preview,
.work-row:focus-visible .work-preview {
  opacity: 1;
  transform: translateX(0);
}

.work-row:hover .work-role,
.work-row:focus-visible .work-role {
  opacity: 0;
}

.work-preview i {
  position: absolute;
  display: block;
}

.preview-one {
  background: var(--blue);
}

.preview-one i:nth-child(1) {
  inset: 0 auto 0 0;
  width: 32%;
  border-right: 1px solid var(--paper);
  background: var(--ink);
}

.preview-one i:nth-child(2) {
  top: 20%;
  right: 8%;
  width: 46%;
  height: 19%;
  background: var(--lime);
}

.preview-one i:nth-child(3) {
  right: 8%;
  bottom: 18%;
  width: 46%;
  height: 2px;
  background: var(--paper);
}

.preview-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--blue-soft);
}

.preview-two i {
  position: static;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.preview-two i:nth-child(even) {
  border-right: 0;
}

.preview-two i:nth-child(n + 3) {
  border-bottom: 0;
}

.preview-three {
  background: var(--lime);
}

.preview-three i:nth-child(1) {
  top: 14%;
  left: 9%;
  width: 44%;
  aspect-ratio: 1;
  border: 1rem solid var(--blue);
  border-radius: 50%;
}

.preview-three i:nth-child(2) {
  right: 8%;
  bottom: 16%;
  width: 33%;
  height: 30%;
  background: var(--ink);
}

.principles {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.principles-head {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(12rem, 0.5fr);
  align-items: end;
  gap: var(--s-6);
  margin-bottom: var(--s-6);
}

.section-kicker.compact {
  padding-top: var(--s-2);
}

.principles-head > p {
  margin: 0;
  color: var(--lime);
  font-size: var(--t-lead);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.principle-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: var(--s-8) 1.5fr 1fr;
  align-items: center;
  gap: var(--s-2);
  min-height: 8rem;
  border-bottom: 1px solid var(--rule);
  transition: opacity 500ms ease, transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 300ms ease, color 300ms ease;
}

.principle-list li:hover {
  padding-left: var(--s-2);
  color: var(--lime);
}

.principle-list span,
.principle-list em {
  font-family: var(--mono);
  font-size: var(--t-label);
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.principle-list strong {
  font-size: var(--t-h3);
  font-weight: 780;
  line-height: 1;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.principle-list em {
  color: var(--paper-2);
}

.contact {
  padding: var(--s-3) var(--pad) var(--s-2);
  background: var(--lime);
  color: var(--ink);
}

.contact-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: var(--section-y);
}

.contact h2 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4rem, 11vw, 12rem);
  font-stretch: 112%;
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--section-y);
  padding: var(--s-2) 0;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  font-size: var(--t-h2);
  font-weight: 820;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.contact-link svg {
  width: clamp(3.2rem, 7vw, 6.5rem);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 300ms ease;
}

.contact-link:hover svg,
.contact-link:focus-visible svg {
  transform: translate(0.55rem, -0.55rem);
}

.contact footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-2);
  margin-top: var(--s-4);
  font-family: var(--mono);
  font-size: var(--t-label);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact footer a {
  justify-self: end;
}

@media (max-width: 1000px) {
  .site-header {
    grid-template-columns: 1fr auto 1fr;
  }

  .header-meta > span:last-child {
    font-size: 0;
  }

  .header-meta > span:last-child::after {
    font-size: var(--t-label);
    content: "Available";
  }

  .hero {
    grid-template-columns: var(--s-8) minmax(0, 1fr);
  }

  .hero-art {
    grid-column: 1 / -1;
    min-height: 30rem;
    padding: var(--pad);
  }

  .art-frame {
    aspect-ratio: 2.1;
  }

  .work-row {
    grid-template-columns: var(--s-8) minmax(0, 1fr) minmax(11rem, 0.4fr) auto;
  }

  .work-preview {
    width: 13rem;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 4.8rem;
    --section-y: var(--s-12);
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem;
    padding: 0 1.1rem;
  }

  .wordmark-name,
  .site-header nav a:first-child {
    display: none;
  }

  .header-meta {
    justify-self: start;
  }

  .site-header nav {
    gap: var(--s-2);
  }

  .wordmark-mark {
    width: 1.8rem;
    height: 1.8rem;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-index {
    display: none;
  }

  .hero-main {
    min-height: calc(100svh - var(--header-h));
    padding-top: var(--s-4);
  }

  .hero-title {
    font-size: clamp(3.25rem, 14vw, 5.4rem);
  }

  .hero-title .offset {
    margin-left: 0;
  }

  .hero-footer {
    align-items: center;
  }

  .round-link {
    width: 3.5rem;
    height: 3.5rem;
  }

  .hero-art {
    min-height: 25rem;
  }

  .art-frame {
    aspect-ratio: 1.1;
  }

  .statement-grid,
  .principles-head {
    grid-template-columns: 1fr;
  }

  .statement-title {
    font-size: clamp(3rem, 12.5vw, 5rem);
  }

  .statement-copy {
    max-width: 31rem;
  }

  .work-index {
    margin-top: var(--s-6);
  }

  .work-row {
    grid-template-columns: 2.5rem 1fr;
    gap: 0.7rem var(--s-2);
    min-height: 0;
    padding: var(--s-4) 0;
  }

  .work-row:hover,
  .work-row:focus-visible {
    padding: var(--s-4) var(--s-2);
  }

  .work-role,
  .work-year {
    grid-column: 2;
  }

  .work-year {
    color: var(--paper-2);
  }

  .work-preview {
    display: none;
  }

  .work-row:hover .work-role,
  .work-row:focus-visible .work-role {
    opacity: 1;
  }

  .principle-list li {
    grid-template-columns: 2.5rem 1fr;
    min-height: 0;
    padding: var(--s-3) 0;
  }

  .principle-list em {
    grid-column: 2;
  }

  .contact h2 {
    font-size: clamp(4rem, 15vw, 6.2rem);
  }

  .contact footer {
    grid-template-columns: 1fr auto;
  }

  .contact footer span:nth-child(2) {
    display: none;
  }
}

@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor {
    display: none;
  }

  body.cursor-ready,
  body.cursor-ready a,
  body.cursor-ready button {
    cursor: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
