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

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

@font-face {
  font-family: "Avery Mono";
  src: url("assets/fonts/Avery-Mono-light-webfont.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avery Mono";
  src: url("assets/fonts/Avery-Mono-bold-webfont-1.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Avery Mono FW";
  src: url("assets/fonts/Avery-Mono-FW-display-light-webfont.woff2")
    format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --beige: #f9f4f2;
  --blurple: #2a1664;
  --purple: #5f2cca;
  --light-purple: #e0d9e1;

  --green: #42d5b6;
  --blue: #3f74de;
  --tag-purple: #8055d9;

  --transition-drama: transform 600ms cubic-bezier(0.07, 0.83, 0.33, 0.97);
  --transition-drama-bezier: cubic-bezier(0.07, 0.83, 0.33, 0.97);
  --transition-simple:
    color 300ms cubic-bezier(0.165, 0.84, 0.44, 1),
    fill 300ms cubic-bezier(0.165, 0.84, 0.44, 1),
    opacity 300ms cubic-bezier(0.165, 0.84, 0.44, 1);

  --avery: "Avery", Arial, sans-serif;
  --avery-display: "Avery Display", "Avery", Arial, sans-serif;
  --avery-mono: "Avery Mono", ui-monospace, monospace;
  --avery-mono-fw: "Avery Mono FW", "Avery Mono", ui-monospace, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh; /* accounts for mobile browser chrome */
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}

input:autofill {
  color: inherit;
  background: inherit;
}

img,
picture,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

p,
h1,
h2,
h3,
li {
  overflow-wrap: break-word;
}

@media (min-width: 1600px) {
  .pagewrapper {
    font-size: clamp(1rem, 1vw, 1.125rem);
  }
}

/* ==========================================================================
   03  BASE
   ========================================================================== */

body {
  background: var(--beige);
  color: var(--blurple);
  font-size: 1rem;
  line-height: 1.325;
  font-family: var(--avery);
}
p {
  margin-bottom: 0.625em;
}
.under-construction {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: var(--beige);
  padding: 0 1em;
  /* thickness of the striped band */
  border: 28px solid transparent;
  border-radius: 6px;

  background:
    /* 1. interior fill — clipped to padding box, covers the center */
    linear-gradient(var(--blurple) 0 0) padding-box,
    /* 2. the stripe mask — dark bars with transparent gaps */
    repeating-linear-gradient(
        50deg,
        var(--blurple) 0 25.25px,
        transparent 25.75px 75.25px,
        var(--blurple) 75.75px 100px
      )
      border-box,
    /* 3. the color that shows through those gaps */
    linear-gradient(-115deg, #ece8e0, var(--beige), #ece8e0, #d7c4d9, beige)
      border-box;
  box-shadow:
    0 0 25px 0px #29166444,
    0 -0px 0 1px #ece8e0,
    0 0 0 5px #29166433;
}
.under-construction-text {
  font-family: var(--avery-display);
  font-size: min(4.5em, 10vw);
  text-align: center;
  border-bottom: solid 1px
    color-mix(in srgb, var(--light-purple) 50%, transparent 50%);
  padding-bottom: 16px;
  margin: 24px 0px;
  line-height: 1;
}
.under-construction p {
  text-align: center;
  line-height: 1.4;
  max-width: 72ch;
  margin: 0 auto 1em auto;
  font-size: 18px;
}

@media (max-width: 767px) {
  .under-construction p {
    font-size: 15px;
  }
}

.link {
  font-family: var(--avery-mono);
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: var(--transition-simple);
}
.inline-link {
  font-family: inherit;
}
.link:hover {
  color: var(--purple);
}

h1,
h2 {
  font-family: var(--avery-display);
}
.paragraph-medium {
  font-size: 0.925em;
}
.justify-content {
  text-align: justify;
  margin-bottom: 0px;
}
.tagline {
  font-family: var(--avery-mono-fw);
}

.is-hidden {
  display: none;
}
.pagewrapper {
  overflow-x: clip !important;
  height: 100%;
}
.bg-blurple {
  background: var(--blurple);
  color: var(--beige);
}

.spacer-large {
  height: 4em;
}
.sr-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
::selection {
  background: var(--blurple);
  color: var(--beige);
}

.embeddable-buttondown-form {
  display: flex;
  margin: 0 auto;
  flex-flow: wrap;
  align-items: center;
  text-align: center;
  justify-content: center;
  color: var(--blurple);
  gap: 4px 0.5em;
  margin: 1em 0 2em 0;
}
.embeddable-buttondown-form label {
  font-family: var(--avery-mono);
  font-size: 1em;
  color: var(--beige);
  display: block;
  width: 100%;
  margin-bottom: 0.5em;
}
.embeddable-buttondown-form input[type="email"],
.embeddable-buttondown-form input[type="submit"] {
  font-family: var(--avery-mono);
  font-size: 1em;
  padding: 0.5em 1em;
  background: var(--blurple);
  color: var(--beige);
  border: solid 1px;
  border-color: mix-color(in srgb, var(--light-purple) 50%, transparent 50%);
  border-radius: 4px;
}

.embeddable-buttondown-form input[type="submit"] {
  color: var(--blurple);
  background: var(--beige);
  cursor: pointer;
  transition: background-color 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
}
.embeddable-buttondown-form input[type="submit"]:hover {
  background-color: var(--light-purple);
}

/* ==========================================================================
   04  LAYOUT & LEFT PANEL
   ========================================================================== */
.page-grid {
  display: grid;
  grid-template-columns: minmax(500px, 41fr) 59fr;
  height: 100%;
}
.grid-cell {
  position: relative;
}

.flat-panel {
  padding: 1.25em 2.75vw 0cqmin 4em;
  background-image: url("assets/images/background-star.svg");
  background-repeat: repeat;
  background-size: 120px;
  background-position: -30% -40%;
  background-attachment: fixed;

  display: grid;
  grid-template-rows: auto auto 1fr;
  grid-auto-rows: auto;
  box-shadow: 0 0 3em 0px #0e062577;
  z-index: 1;
}
.intro-wrapper {
  position: relative;
  container-type: inline-size;
  container-name: intro;
}
.name-heading {
  line-height: 1;
  font-size: 6.77cqi;
  position: relative;
  font-weight: 400;
}
.copyright-span {
  vertical-align: top;
  font-size: 0.54em;
  position: absolute;
}
.name-labels-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 1em 0 1.25em 0;
  align-items: top;
  gap: 1em;
}
.name-tagline {
  font-size: 1em;
  font-family: var(--avery-mono-fw);
  text-transform: uppercase;
  color: var(--purple);
  line-height: 1.06;
}
.headshot-wrap {
  width: 5em;
  border: solid 3px var(--light-purple);
  box-shadow:
    0 0 0px 1px #29166433,
    0px 0px 24px 0 #dcd5dd;
  flex-shrink: 0;
}
.headshot-wrap img {
  height: 100%;
  object-fit: cover;
}
.intro-content {
  display: flex;
  gap: 1.25em;
  flex-shrink: 0;
}
.name-label-img {
  opacity: 0.75;
}
.intro-barcode-img {
  position: absolute;
  inset: 0 auto 0 -4em;
  height: 100%;
  padding-top: 10px;
  margin-left: 1px;
  opacity: 0.75;
}
/* ==========================================================================
   05  THE WORKS
   ========================================================================== */
.spacer-medium {
  height: 2.5em;
}

.works-wrapper {
  border: solid 2px var(--purple);
  border-bottom: none;
  position: relative;
  padding: 1em 0 5em 1.125em;
  background: var(--beige);
  height: 100%;
}
.works_heading-wrap {
  position: absolute;
  inset: 0 auto auto 0;
  transform: translate(0%, -100%);
}
.works_heading-wrap h2 {
  position: absolute;
  font-size: 1.5em;
  inset: 0.25em auto auto 0.8em;
}
.works_heading-wrap svg {
  margin-left: -2px;
}

.works_category-wrap {
  display: flex;
  flex-flow: row wrap;
  gap: 0.5em;
}
.works_category-item {
  display: flex;
  padding: 6px 9px 6px 15px;
  /*border: 1px dashed #291664;*/
  position: relative;
}
.works_category-item:after {
  content: "";
  position: absolute;
  width: 10px;
  inset: 0 auto 0 0;
  background: var(--green);
}
.works_category-item:nth-child(2):after {
  content: "";
  position: absolute;
  width: 10px;
  inset: 0 auto 0 0;
  background: var(--blue);
}
.works_category-item:nth-child(3):after {
  content: "";
  position: absolute;
  width: 10px;
  inset: 0 auto 0 0;
  background: var(--tag-purple);
}
.works_category-item svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.works-category-tag {
  font-family: var(--avery-mono);
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
}
.works-grouping {
  margin-top: 0.5em;
  position: relative;
}
.works-grouping-date {
  font-size: 0.875em;
  display: flex;
  align-items: center;
  gap: 0.5em;
  letter-spacing: 0.05em;
  font-family: var(--avery-mono-fw);
  margin-top: 1em;
}
.works-date-line {
  width: 100%;
  border-bottom: solid 1px #cbbecd;
  flex: 1 1 auto;
}
.works_item {
  border-width: 2px 0px 0px 2px;
  border-style: dashed;
  border-color: color-mix(in srgb, var(--blurple) 70%, transparent 30%);
  border-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='%232a1664BB'%3E%3Crect x='0' y='0' width='2' height='2'/%3E%3Crect x='16' y='0' width='2' height='2'/%3E%3Crect x='0' y='16' width='2' height='2'/%3E%3Crect x='16' y='16' width='2' height='2'/%3E%3Crect x='2' y='0' width='7' height='2'/%3E%3Crect x='2' y='16' width='7' height='2'/%3E%3Crect x='0' y='2' width='2' height='7'/%3E%3Crect x='16' y='2' width='2' height='7'/%3E%3C/svg%3E")
    2 round;
  transition: background-color 300ms cubic-bezier(0.165, 0.84, 0.44, 1);
  background: transparent;
  overflow: clip;
  display: flex;
  gap: 1em;
  padding-right: 2.5em;
  cursor: pointer;
}
.works_item:last-child {
  border-bottom-width: 2px;
}
.works_item-category-el {
  width: 12px;

  background: var(--green);
  flex-shrink: 0;
}
.works_item:hover,
.works_item.is-active {
  background: var(--light-purple);
}
.works_item:hover .works_preview-img,
.works_item.is-active {
  transform: translate(0px, 20%);
}
.works_item button {
  background: transparent;
  border: none;
  cursor: pointer;
  display: block;
  text-align: left;
  padding: 0.75em 0em 0.4em 0em;
}

.works_item-title {
  font-size: 1.2em;
}
.works_item-tagline {
  font-weight: 300;
  line-height: 1.2;
  margin-top: 0.1em;
  text-wrap: balance;
}
.works_preview-img {
  width: 5em;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transform: translate(0px, 100%);
  transition: var(--transition-drama);
}

.flat-panel_footer {
  position: sticky;
  bottom: 0;
  width: 100%;
  border-top: solid 2px var(--purple);
}
.footer_linkwrapper {
  display: flex;
  flex-flow: row wrap;
  gap: 1.5em;
  padding: 1.25em 0em;
  font-weight: 700;
}
.footer-link {
  font-size: 0.875em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.footer_copyright-textwrap {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.75em 2em 1em 2em;
  border-top: solid 1px var(--light-purple);
  background: var(--beige);

  margin: 0px -2.5vw 0 -4em;
}
.footer-logo {
  height: 1.75em;
}
.footer-addendum {
  font-size: 13px;
  opacity: 65%;
  font-weight: 300;
  font-family: var(--avery-mono);
  text-transform: uppercase;
  line-height: 1;
  text-align: justify;
}
.flat-panel-indicator {
  position: absolute;
  width: 1.5em;
  top: 50%;
  left: 100%;
  transform: translate(0, -50%);
  z-index: 1;
}
/* ==========================================================================
   05  RIGHT PANEL
   ========================================================================== */

.machine-panel {
  position: sticky;
  top: 0px;
  height: 100vh;
  padding: 1.75em 3.25em 1.25em 3vw;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-auto-rows: auto;
}
.machine_display-wrapper {
  position: relative;
  aspect-ratio: 3/2;
  overflow: clip;
  border-radius: 1.2vw;
  box-shadow:
    0 4px 27px 0 rgba(249, 244, 242, 0.05),
    0 20px 30px -14px rgba(12, 4, 36, 0.45) inset,
    0 -12px 24px -16px rgba(12, 4, 36, 0.28) inset,
    0 -1px 0 0 rgba(249, 244, 242, 0.12) inset;
  border: 1px solid rgba(95, 44, 202, 0.2);
  padding: 1.75em;
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: start;
  min-height: 0px;
}
.machine_display-bg {
  aspect-ratio: 3/2;
  width: 90%;
  margin: 0 auto;
  flex-shrink: 0;
}
.machine_display-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  margin: 1.25em auto;
  letter-spacing: 0.08em;
}
.machine-info-el {
  font-size: 13px;
  font-family: var(--avery-mono-fw);
  opacity: 50%;
}
.machine_display-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  pointer-events: none;
}
.display-img {
  width: 80%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3/2;
  position: absolute;
  left: 10%;
  top: 5.8%;
  border: solid 4px var(--light-purple);
  transform: rotate(-1deg);
}
.works-category-tag.is-machine {
  position: absolute;
  top: 50%;
  right: 1.25em;
  transform: translate(0%, -50%);
  writing-mode: vertical-lr;
  opacity: 40%;
  font-family: var(--avery-mono-fw);
  font-size: 1em;
}
.machine_nav-wrap {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 9.25em;
  left: 50%;
  transform: translateX(-40%);
  rotate: -3deg;
  bottom: 1.75em;
  z-index: 101;
}
.machine_nav-wrap svg {
  overflow: visible;
}
.machine_nav-wrap svg {
  transition: filter 600ms ease-out;
}
.machine_nav-wrap:has(.machine_nav-arrow:hover) svg {
  filter: drop-shadow(3px 3px 22px #e0d9e130) !important;
}
.machine_nav-wrap:has(.machine_nav-arrow.prev-arrow:hover) #left-arrow {
  fill: var(--green);
}
.machine_nav-wrap:has(.machine_nav-arrow.next-arrow:hover) #right-arrow {
  fill: var(--green);
}

.machine_nav-wrap:has(.machine_nav-arrow.next-arrow:hover) #eye-circle {
  transition-delay: 0ms;
  transform: translate(6px, 0px) scale(0.85, 0.96);
}
.machine_nav-wrap:has(.machine_nav-arrow.next-arrow:hover) #left-bg {
  transform: scale(1.16);
}
.machine_nav-wrap:has(.machine_nav-arrow.prev-arrow:hover) #right-bg {
  transform: scale(1.16);
}
.machine_nav-wrap:has(.machine_nav-arrow.prev-arrow:hover) #eye-circle {
  transition-delay: 0ms;
  transform: translate(-6px, 0px) scale(0.85, 0.96);
}
#left-bg,
#right-bg,
#eye-circle {
  transition: transform 400ms var(--transition-drama-bezier);
  transform-box: fill-box;
  transform-origin: center;
  transition-delay: 50ms;
}
#left-arrow,
#right-arrow {
  transition: var(--transition-simple);
}

.machine_nav-icon {
  width: 100%;
}

.machine_nav-arrow {
  /*background: blue;*/
  background: transparent;
  width: 24%;
  height: 61px;
  border: none;
  cursor: pointer;
  position: absolute;
  z-index: 1;
}
.prev-arrow {
  left: 0;
}
.next-arrow {
  right: 0;
}

.project_content-wrapper {
  margin-top: 1.5em;
  padding: 0em 2em 2em 2em;
  display: grid;
  grid-template-columns: 2.5em 1fr;
  grid-template-rows: auto auto 1fr;
  grid-auto-rows: auto;
  gap: 1.5em 1em;
  overflow: scroll;
}
.project_content-wrapper::-webkit-scrollbar {
  width: 5px;
}
.project_content-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--blurple);
  border-radius: 5px;
}
.project_content-wrapper::-webkit-scrollbar-track {
  background: transparent;
}
.project_content-wrapper {
  scrollbar-width: thin;
  scrollbar-color: var(--purple) transparent; /* thumb, then track */
}
.project_content-scrolloverlay {
  position: absolute;
  bottom: 1.25em;
  left: 0;
  right: 0;
  width: 100%;
  height: 2.5em;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    var(--blurple)
  );
}
.project_icon {
  width: 100%;
}
.project_title {
  font-size: 3em;
  font-weight: 300;
  line-height: 1;
}
.project_title-wrap {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2em;
  flex-flow: row wrap;
}
.project_label-item {
  display: flex;
  gap: 0.8em;
  margin-top: 0.5em;
}
.machine-info-el {
  letter-spacing: 0.08em;
}
.machine-info-el.is-bold {
  opacity: 1;
}
.project_content-divider {
  width: 100%;
  grid-column: 1 / -1;
  height: 9px;
  object-fit: cover;
  box-shadow: 0 0 1px 0 #0c0424;
  border: 1px solid rgba(224, 217, 225, 0.06);
}
.project-desc {
  font-weight: 300;
  line-height: 1.5;
  font-size: 1.1em;
}
.project-desc.is-bold {
  font-weight: 400;
}
/* ====
/* ==========================================================================
   07  STATES
   ========================================================================== */

/* Visible keyboard focus. Webflow gave you nothing here either — and its
   absence is the single most common accessibility failure on portfolio sites. */
:focus-visible {
  outline: 2px solid var(--blurple);
  outline-offset: 3px;
}

/* Required by the brief. Any effect you add later must obey this too. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print: the site is a document. Let it behave like one. */
@media print {
  .chrome,
  .chrome__counter {
    display: none;
  }
  body {
    background: #fff;
    color: #000;
  }
}
