@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/Switzer-Thin.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/Switzer-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/Switzer-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/Switzer-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/Switzer-SemiboldItalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("assets/fonts/Switzer-ExtraboldItalic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --jet-black: #130A0A;
  --hot-pink: #E4002B;
  --header-height: clamp(120px, 14vh, 160px);
  --header-side-space: clamp(48px, 5vw, 96px);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  color: var(--jet-black);
  font-family: "Switzer", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.cover {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #ffffff;
}

.mouse-trail {
  position: fixed;
  inset: 0;
  z-index: 6;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
  transition: opacity 300ms ease;
}

.cover.has-active-section .mouse-trail {
  opacity: 0;
}

.landing-stage {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding: 0 var(--header-side-space);
  background: #ffffff;
}

body.is-color-blasting,
body.is-color-blasting .cover,
body.is-color-blasting .landing-stage {
  background-color: var(--blast-bg, #ffffff);
}

.landing-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.landing-logo img {
  display: block;
  height: 32px;
  width: auto;
}

.landing-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  column-gap: clamp(24px, 4vw, 72px);
  align-items: center;
  flex: 1 1 auto;
  width: auto;
}

.landing-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--jet-black);
  font-family: "Switzer", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  transition: color 160ms ease;
}

.landing-nav-button:hover,
.landing-nav-button:focus-visible {
  color: var(--hot-pink);
}

.landing-nav-button:focus-visible {
  outline: 3px solid var(--hot-pink);
  outline-offset: 4px;
}

.content-page {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-height);
  bottom: 0;
  padding: 0 var(--header-side-space);
  overflow-y: auto;
  color: var(--jet-black);
}

.content-page::-webkit-scrollbar {
  width: 2px;
}

.content-page::-webkit-scrollbar-track {
  background: transparent;
}

.content-page::-webkit-scrollbar-thumb {
  background: #D92E8A;
  border-radius: 0;
}

.content-page-inner {
  min-height: 100%;
}

.content-section {
  display: none;
  min-height: 100%;
  clip-path: inset(0 0 100% 0);
}

.content-section.is-active {
  display: block;
}

.content-section.is-revealed {
  clip-path: inset(0 0 0% 0);
  transition: clip-path 1200ms cubic-bezier(.16, 1, .22, 1);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(240px, 36%) 1fr;
  column-gap: clamp(48px, 9vw, 172px);
  align-items: stretch;
  width: 100%;
  height: calc(100vh - var(--header-height) - 48px);
  min-height: 420px;
  padding: 24px 0;
}

.about-photo {
  position: relative;
  margin: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.about-heading {
  margin: 0 0 clamp(32px, 3.6vw, 70px);
  font-size: clamp(26px, 1.9vw, 36px);
  font-weight: 600;
  text-transform: uppercase;
}

.about-text {
  margin: 0 0 clamp(40px, 6.9vw, 133px);
  font-size: clamp(15px, 1.1vw, 21px);
  font-weight: 400;
  line-height: 1.2;
  text-align: justify;
}

.about-specialties {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-specialties li {
  display: flex;
  justify-content: space-between;
  font-size: clamp(15px, 1.1vw, 21px);
  font-weight: 600;
  line-height: 1.2;
}

.about-specialties li.is-italic {
  font-style: italic;
}

.about-cta {
  align-self: flex-end;
  margin-top: auto;
  color: var(--jet-black);
  font-size: clamp(15px, 1.1vw, 21px);
  font-weight: 800;
  font-style: italic;
  text-decoration: none;
  transition: color 160ms ease;
}

.about-cta:hover,
.about-cta:focus-visible {
  color: var(--hot-pink);
}

.projects-grid {
  display: grid;
  grid-template-columns: minmax(160px, calc(48.5% - 150px)) auto 1fr;
  column-gap: clamp(16px, 2vw, 32px);
  row-gap: clamp(16px, 2vw, 36px);
  align-items: start;
  width: 100%;
  padding: 24px 0 64px;
}

.projects-intro {
  grid-column: 1;
  grid-row: 1 / span 4;
  position: sticky;
  top: 0;
}

.projects-heading {
  margin: 0 0 clamp(24px, 3vw, 56px);
  font-size: clamp(26px, 1.9vw, 36px);
  font-weight: 600;
  text-transform: uppercase;
}

.projects-text {
  margin: 0;
  max-width: 32ch;
  font-size: clamp(15px, 1.1vw, 21px);
  font-weight: 400;
  line-height: 1.2;
}

.projects-list {
  display: contents;
}

.projects-secondary-link {
  display: inline-block;
  margin-top: clamp(20px, 3vw, 40px);
  color: var(--jet-black);
  font-size: clamp(15px, 1.1vw, 21px);
  font-weight: 800;
  font-style: italic;
  text-decoration: none;
  transition: color 160ms ease;
}

.projects-secondary-link:hover,
.projects-secondary-link:focus-visible {
  color: var(--hot-pink);
}

.project-row {
  display: contents;
  text-decoration: none;
  color: var(--jet-black);
}

.project-label {
  grid-column: 2;
  padding-top: clamp(4px, 0.6vw, 10px);
  font-size: clamp(15px, 1.1vw, 21px);
  font-weight: 800;
  font-style: italic;
  text-align: right;
  white-space: nowrap;
  transition: color 160ms ease;
}

.project-row:hover .project-label,
.project-row:focus-visible .project-label {
  color: var(--hot-pink);
}

.project-tile {
  position: relative;
  grid-column: 3;
  display: block;
  aspect-ratio: 881 / 276;
  overflow: hidden;
}

.pixel-hover-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.project-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-row--editorial .project-tile {
  background: #D92E8A;
}

.project-row--editorial .project-tile img {
  object-fit: contain;
}

.project-row--brand .project-tile {
  background: var(--jet-black);
}

.project-row--kleenr .project-tile {
  background: #70948D;
}

.project-row--placeholder .project-tile {
  background: var(--jet-black);
}

.zine-grid {
  display: grid;
  grid-template-columns: minmax(220px, 32%) 1fr;
  column-gap: clamp(48px, 6vw, 96px);
  align-items: start;
  width: 100%;
  padding: 24px 0 64px;
}

.zine-intro {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 40px);
}

.zine-heading {
  margin: 0;
  font-size: clamp(26px, 1.9vw, 36px);
  font-weight: 600;
  text-transform: uppercase;
}

.zine-text {
  margin: 0;
  max-width: 32ch;
  font-size: clamp(15px, 1.1vw, 21px);
  font-weight: 400;
  line-height: 1.2;
}

.zine-back {
  align-self: flex-start;
  color: var(--jet-black);
  font-size: clamp(14px, 1vw, 18px);
  font-weight: 800;
  font-style: italic;
  text-decoration: none;
  transition: color 160ms ease;
}

.zine-back:hover,
.zine-back:focus-visible {
  color: var(--hot-pink);
}

.zine-reader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 2.4vw, 32px);
  width: 100%;
}

.zine-viewport {
  position: relative;
  width: 100%;
  height: clamp(380px, 60vh, 720px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.zine-page-image {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  transition: opacity 420ms ease;
}

.zine-page-image.is-active {
  opacity: 1;
}

.zine-controls {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}

.zine-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--jet-black);
  cursor: pointer;
  transition: color 160ms ease;
}

.zine-nav svg {
  width: 20px;
  height: 20px;
}

.zine-nav:hover,
.zine-nav:focus-visible {
  color: var(--hot-pink);
}

.zine-nav:focus-visible {
  outline: 3px solid var(--hot-pink);
  outline-offset: 4px;
}

.zine-nav:disabled {
  opacity: 0.25;
  cursor: default;
  color: var(--jet-black);
}

.zine-counter {
  min-width: 3.5ch;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  text-align: center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 720px) {
  :root {
    --header-side-space: 24px;
  }

  .cover {
    min-height: 100svh;
  }

  .landing-stage {
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    row-gap: 14px;
  }

  .landing-logo img {
    height: 24px;
  }

  .landing-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 24px;
    row-gap: 10px;
    width: 100%;
  }

  .landing-nav-button {
    font-size: 14px;
  }

  .content-page {
    padding: 0 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    row-gap: 24px;
    height: auto;
    min-height: 0;
    padding: 12px 0;
  }

  .about-photo {
    aspect-ratio: 3 / 4;
  }

  .about-heading {
    margin-bottom: 20px;
  }

  .about-text {
    margin-bottom: 24px;
  }

  .about-cta {
    margin-top: 24px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    row-gap: 4px;
    padding: 12px 0 32px;
  }

  .projects-intro {
    grid-column: 1;
    grid-row: auto;
    position: static;
    margin-bottom: 8px;
  }

  .project-label {
    grid-column: 1;
    margin-top: 20px;
    padding-top: 0;
    text-align: left;
    white-space: normal;
  }

  .project-tile {
    grid-column: 1;
    margin-top: 8px;
  }

  .zine-grid {
    grid-template-columns: 1fr;
    row-gap: 24px;
    padding: 12px 0 32px;
  }

  .zine-intro {
    position: static;
  }

  .zine-viewport {
    height: 52vh;
  }
}

.zine-grid--plain .zine-heading {
  text-transform: none;
}

.zine-grid--plain .zine-text {
  max-width: 30ch;
  text-align: justify;
  hyphens: none;
  letter-spacing: 0.02em;
}
