@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:opsz,wght@9..40,400;9..40,500&display=swap");

@font-face {
  font-family: "Signifier";
  src: url("fonts/signifier/signifier-regular.woff2") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #111;
  --paper: #f3f1eb;
  --line: rgba(17, 17, 17, .2);
  --muted: #6e6b63;
}

* { box-sizing: border-box; }
a {
  color: var(--ink);
  text-decoration: none;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
}
.site-header {
  font-family: "Signifier", Georgia, serif;
  margin: 0 auto;
  max-width: 850px;
  padding: 46px 0 0;
  width: calc(100% - 8vw);
}
.site-header-logo {
  display: block;
  height: auto;
  max-width: 430px;
  margin: 0 0 54px;
  width: 100%;
}
.header-content {
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 850px;
}
.header-tagline,
.header-description,
.header-stages {
  font-size: 18px;
  line-height: 1.3;
  margin: 0;
}
.header-tagline { margin-bottom: 27px; }
.header-description { max-width: 390px; }
.header-stages {
  column-gap: 32px;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  margin-top: 32px;
}
.stage-intro { margin: 0 0 20px; }
.stage-intro { grid-column: 1 / -1; }
.stage-list { display: flex; flex-direction: column; align-items: flex-start; }
.stage-button {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  line-height: 1.3;
  padding: 0;
  text-align: left;
}
.stage-button:hover,
.stage-button:focus-visible {
  color: #954F00;
}
.stage-detail {
  border-left: 1px solid #954F00;
  font-size: 15px;
  line-height: 1.2;
  margin: 0;
  max-width: 360px;
  padding-left: 14px;
}
.header-art {
  align-items: flex-start;
  display: flex;
  justify-content: center;
}
.header-art img {
  height: auto;
  max-height: 500px;
  mix-blend-mode: multiply;
  object-fit: contain;
  width: min(100%, 280px);
}
.clients { padding: 28px 4vw 80px; }
.section-label {
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.section-label span:first-child { color: var(--muted); }
.hand-underline {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 8' preserveAspectRatio='none'%3E%3Cpath d='M1 5 C55 4.2 105 5.5 154 4.6 S250 5.2 299 4.3' fill='none' stroke='%23954F00' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% .34em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hand-underline::selection {
  background: #954F00;
  color: var(--paper);
}
.client-description {
  display: grid;
  font-family: "Signifier", Georgia, serif;
  font-size: 18px;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  line-height: 1.18;
  margin: clamp(36px, 4.5vw, 60px) auto 60px;
  max-width: 850px;
}
.client-description p {
  margin: 0;
}
.logo-grid {
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 850px;
  width: 100%;
}
.logo-cell {
  align-items: center;
  background-color: transparent;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex;
  height: 150px;
  justify-content: center;
  overflow: hidden;
  padding: 28px;
  position: relative;
  transition: background-color .25s ease;
}
.logo-cell:hover,
.logo-cell:focus-within {
  background-color: #faf9f5;
}
.logo-cell::before,
.logo-cell::after {
  background: repeating-conic-gradient(
    from 0deg,
    transparent 0deg 11deg,
    rgba(17, 17, 17, .38) 11.5deg 12deg,
    transparent 12.5deg 24deg
  );
  content: "";
  inset: 0;
  opacity: 0;
  -webkit-mask-image: repeating-radial-gradient(
    circle at center,
    #000 0 10px,
    transparent 10px 24px
  );
  mask-image: repeating-radial-gradient(
    circle at center,
    #000 0 10px,
    transparent 10px 24px
  );
  pointer-events: none;
  position: absolute;
  transform: scale(.08);
  transform-origin: center;
}
.logo-cell:hover::before,
.logo-cell:focus-within::before {
  animation: lightspeed 1.4s linear -.35s infinite;
}
.logo-cell::after {
  -webkit-mask-image: repeating-radial-gradient(
    circle at center,
    #000 0 7px,
    transparent 7px 21px
  );
  mask-image: repeating-radial-gradient(
    circle at center,
    #000 0 7px,
    transparent 7px 21px
  );
}
.logo-cell:hover::after,
.logo-cell:focus-within::after {
  animation: lightspeed 1.4s linear -1.05s infinite;
}
@keyframes lightspeed {
  0% { opacity: .42; transform: scale(.08); }
  100% { opacity: 0; transform: scale(1.7); }
}
.films {
  padding: 0 4vw 80px;
}
.story-design {
  padding: 28px 4vw 80px;
}
.story-copy {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(36px, 4.5vw, 60px) auto 0;
  max-width: 850px;
}
.story-copy h2 {
  font-family: "Signifier", Georgia, serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: normal;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}
.story-text {
  font-family: "Signifier", Georgia, serif;
  font-size: 18px;
  line-height: 1.18;
}
.story-text p {
  margin: 0 0 24px;
}
.story-word-slot {
  display: inline-block;
  position: relative;
  white-space: nowrap;
}
.story-word-sizer {
  position: absolute;
  visibility: hidden;
  white-space: nowrap;
}
#story-word {
  display: inline-block;
}
.story-links {
  display: flex;
  flex-direction: column;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  gap: 10px;
  margin-top: 42px;
  text-transform: uppercase;
}
.story-links a {
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.story-links span {
  float: right;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
}
.patents {
  padding: 28px 4vw 80px;
}
.patent-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(36px, 4.5vw, 60px) auto 0;
  max-width: 700px;
}
.patent-storymap {
  margin: 0 auto 60px;
  max-width: 850px;
}
.patent-storymap img {
  display: block;
  height: auto;
  mix-blend-mode: multiply;
  width: 100%;
}
.patent-card {
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  font-family: "Signifier", Georgia, serif;
  gap: 18px;
  min-height: 190px;
  padding: 20px;
  transition: background-color .25s ease, border-color .25s ease;
}
.patent-card:hover,
.patent-card:focus-visible {
  background-color: #faf9f5;
  border-color: var(--ink);
}
.patent-card span {
  font-family: "DM Mono", monospace;
  font-size: 11px;
}
.patent-card strong {
  font-size: 18px;
  font-weight: normal;
  line-height: 1.18;
}
.patent-card b {
  font-family: "DM Sans", Arial, sans-serif;
  font-weight: normal;
  margin-left: 8px;
}
.patent-video-card {
  overflow: hidden;
  padding: 0;
}
.patent-video-card video {
  display: block;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  width: 100%;
}
.film-grid {
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  max-width: 850px;
  width: 100%;
}
.film-cell {
  background-color: transparent;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background-color .25s ease;
}
.film-cell:hover,
.film-cell:focus-within {
  background-color: #faf9f5;
}
.film-cell a {
  display: block;
  padding: 16px;
}
.film-cell img {
  aspect-ratio: 16 / 9;
  display: block;
  filter: grayscale(1);
  object-fit: cover;
  transition: filter .25s ease, transform .25s ease;
  width: 100%;
}
.film-cell a:hover img,
.film-cell a:focus-visible img {
  filter: grayscale(0);
  transform: scale(1.03);
}
.film-cell span {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  line-height: 1.2;
  padding: 14px 2px 2px;
  text-transform: uppercase;
}
.media-embeds {
  align-items: start;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 60px auto 0;
  max-width: 850px;
}
.youtube-embed {
  aspect-ratio: 16 / 9;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.youtube-embed iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}
.youtube-cover {
  background: var(--ink);
  inset: 0;
  position: absolute;
  transition: opacity .25s ease;
  z-index: 1;
}
.youtube-cover img {
  height: 100%;
  object-fit: cover;
  opacity: .85;
  width: 100%;
}
.youtube-cover button {
  background: var(--paper);
  border: 0;
  border-radius: 999px;
  bottom: 16px;
  color: var(--ink);
  cursor: pointer;
  font-family: "DM Mono", monospace;
  font-size: 10px;
  left: 16px;
  padding: 10px 14px;
  position: absolute;
  text-transform: uppercase;
}
.youtube-cover button span {
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 14px;
  margin-left: 5px;
}
.youtube-cover button:hover {
  background: #fff;
}
.youtube-embed.is-playing .youtube-cover {
  opacity: 0;
  pointer-events: none;
}
.logo-cell img {
  filter: grayscale(1);
  max-height: min(44px, calc(100% - 40px));
  max-width: min(135px, calc(100% - 40px));
  transition: filter .25s ease, transform .25s ease;
  width: auto;
}
.logo-cell a {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  position: relative;
  width: 100%;
  z-index: 1;
}
.logo-cell:hover img,
.logo-cell:focus-within img {
  filter: grayscale(0);
  transform: scale(1.06);
}
.cta {
  background: var(--ink);
  background-image: url("images/ink.gif");
  background-position: center;
  background-size: cover;
  color: var(--paper);
  padding: 52px 4vw 68px;
}
.cta-label {
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .04em;
  margin: 0 auto 110px;
  max-width: 850px;
  text-transform: uppercase;
}
.cta h2 {
  font-family: "Signifier", Georgia, serif;
  font-size: clamp(3.5rem, 8vw, 8rem);
  font-weight: normal;
  letter-spacing: -.04em;
  line-height: .88;
  margin: 0 auto 60px;
  max-width: 850px;
}
.cta-link {
  border-bottom: 1px solid var(--paper);
  color: var(--paper);
  display: block;
  font-family: "DM Mono", monospace;
  font-size: 11px;
  letter-spacing: .04em;
  margin: 0 auto;
  max-width: 850px;
  padding-bottom: 9px;
  text-transform: uppercase;
}
.cta-link span {
  float: right;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
}
.aeo-faq {
  padding: 28px 4vw 100px;
}
.faq-heading {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(36px, 4.5vw, 60px) auto 70px;
  max-width: 850px;
}
.faq-heading h2 {
  font-family: "Signifier", Georgia, serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: normal;
  letter-spacing: -.03em;
  line-height: .88;
  margin: 0;
}
.faq-heading p {
  font-family: "Signifier", Georgia, serif;
  font-size: 18px;
  line-height: 1.18;
  margin: 0;
  max-width: 280px;
}
.faq-list {
  margin: 0 auto;
  max-width: 850px;
}
.faq-list details {
  border-top: 1px solid var(--line);
  font-family: "Signifier", Georgia, serif;
  padding: 20px 0;
}
.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  cursor: pointer;
  font-size: 20px;
  list-style: none;
  padding-right: 35px;
  position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 22px;
  position: absolute;
  right: 0;
  top: -3px;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p {
  font-size: 17px;
  line-height: 1.25;
  margin: 18px 0 4px;
  max-width: 680px;
}
.logo-cell.logo-small img {
  transform: scale(.76);
}
.logo-cell.logo-small:hover img,
.logo-cell.logo-small:focus-within img {
  transform: scale(.81);
}

@media (max-width: 700px) {
  .site-header { padding: 28px 0 0; width: calc(100% - 12vw); }
  .site-header-logo { margin-bottom: 48px; }
  .header-content { display: block; }
  .header-description { margin-bottom: 30px; }
  .header-art { justify-content: center; margin-top: 48px; }
  .header-art img { max-height: 380px; }
  .clients { padding: 18px 6vw 60px; }
  .client-description {
    display: block;
    font-size: 17px;
    margin-bottom: 40px;
  }
  .client-description p + p { margin-top: 24px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-cell { height: 112px; padding: 20px; }
  .logo-cell img {
    max-height: min(33px, calc(100% - 40px));
    max-width: min(105px, calc(100% - 40px));
  }
  .films { padding: 0 6vw 60px; }
  .media-embeds { display: block; }
  .youtube-embed { margin-top: 32px; }
  .story-design { padding: 18px 6vw 60px; }
  .story-copy { display: block; }
  .story-copy h2 { margin-bottom: 40px; }
  .patents { padding: 18px 6vw 60px; }
  .patent-grid { display: block; }
  .patent-card { min-height: 0; padding: 20px; }
  .patent-video-card { padding: 0; }
  .patent-card + .patent-card { margin-top: 24px; }
  .film-grid { grid-template-columns: repeat(2, 1fr); }
  .film-cell a { padding: 10px; }
  .film-cell span { font-size: 9px; padding-top: 10px; }
  .cta { padding: 28px 6vw 48px; }
  .cta-label { margin-bottom: 90px; }
  .cta h2 { margin-bottom: 48px; }
  .aeo-faq { padding: 18px 6vw 70px; }
  .faq-heading { display: block; margin: 36px auto 48px; }
  .faq-heading h2 { margin-bottom: 32px; }
  .faq-heading p { max-width: none; }
  .faq-list summary { font-size: 18px; }
  .faq-list details p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-cell::before,
  .logo-cell::after {
    animation: none !important;
  }
  .logo-cell img,
  .logo-cell {
    transition: none;
  }
}
