@charset "UTF-8";
:root {
  --grid-standard-col-template: 1fr repeat(12, 78px) 1fr;
  --grid-standard-col-gap: 24px;
  --grid-columns-full-interior: 2 / -2;
  --grid-columns-full-bleed: 1 / -1;
  --dynamic-burn-color: white;
}

@media (max-width: 600px) {
  :root {
    --grid-standard-col-template: 32px repeat(12, calc((100% - 64px) / 12)) 32px;
    --grid-standard-col-gap: 0px;
  }
}
/* Remove the navbar's default margin-bottom and rounded borders */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  visibility: hidden;
}

body,
html {
  height: 100%;
  max-width: 100%;
  margin: 0;
  color: #353535;
  font-family: proxima-nova, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
h7 {
  margin: 0;
}

h5,
h6,
h7 {
  font-family: proxima-nova, sans-serif;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: lowercase;
  font-variant: small-caps;
  letter-spacing: 3px;
  font-size: 1.5rem;
}

h1,
h2,
h3 {
  font-family: "freight-display-pro";
  font-weight: 400;
}

h1 {
  font-size: 4rem;
  line-height: 4.25rem;
  text-transform: none;
}

h2 {
  font-size: 3rem;
  line-height: 3.5rem;
}

h3 {
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 400;
}

button {
  font-size: 1rem;
  font-family: proxima-nova, sans-serif;
  font-weight: 600;
  color: white;
}

h6 {
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 3px;
  font-weight: 600;
}

h7 {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

h7 a {
  padding-left: 12px;
  padding-right: 12px;
}

input {
  font-variant-numeric: ordinal;
  font-feature-settings: "liga" off, "clig" off;
  font-family: "freight-display-pro";
  font-size: 12vw;
  font-style: normal;
  font-weight: 300;
  border: none;
  outline: none;
  color: #353535;
}
a {
  text-decoration: none;
  color: inherit;
}

.navbar {
  margin-bottom: 0;
  border-radius: 0;
}

/* Add a gray background color and some padding to the footer */
footer {
  /* background-color: #f2f2f2; */
  padding: 25px;
}

p {
  margin: 0 0 1.3em;
}

h6 a {
  padding-left: 12px;
  padding-right: 12px;
}

p {
  margin: 0;
}

.demo-img {
  grid-row-start: 1;
  background-size: contain;
  background-blend-mode: color-burn;
  background-repeat: no-repeat;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Container styling */
/* Mobile demo chunk styling */
.mobile-demo .chunk {
  padding-top: 11.6vh;
}

/* Makes demo containers blend with background */
.demo-container {
  background-blend-mode: multiply;
  /* z-index: -1; */
}

.black-page-separator {
  width: 100%;
  height: 24px;
  background: black;
}

/* Chunk styling */
.rounded-bar {
  height: 0.25em;
  background: white;
  border-radius: 25px;
  width: 78px;
}

.chunk,
.chunk + .image-tag-container {
  padding-top: 32px;
}

.chunk + .image-tag-container {
  /* Offset the tag container by the height of the chunk rounded bar */
  margin-top: -0.25em;
}

.chunk span > * {
  display: inline;
}

.rounded-bar + .chunk-body,
.rounded-bar + .chunk-title,
.rounded-bar + h2,
button + a {
  padding-top: 64px;
}

.rounded-bar + h3 {
  padding-top: 64px;
}

h2 + h3 {
  padding-top: 64px;
}

h4 + h4 {
  /* When there are two link outs for a chunk */
  padding-top: 24px;
}

h3 + button {
  /* Has to be margin to not distort button */
  margin-top: 24px;
}

button + h4 {
  padding-top: 32px;
}

/* By page styles */
/* Code for America */
/* Visa */
.demo-container {
  justify-self: stretch;
}

#code-for-america-box .image-tag-container {
  padding-top: 10vw;
}

/* About */
#about-box {
  /* Measured from spec: */
  /* height: 104vw;  */
  /* What seems a bit better: */
  /* height: 90vw; */
  min-height: 90vw;
  background-color: #0c0c0c;
}

#about-box * {
  z-index: 1;
}

.fading-content-background,
.scrolling-content-background {
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  position: absolute;
  z-index: 0;
}

.fading-content-background img,
.scrolling-content-background img {
  width: 100%;
  display: block;
}

#about-box .chunk {
  grid-column-start: 1;
  grid-column-end: 5;
  /* padding-top: 13vh; */
  padding-bottom: 48px;
}

@media only screen and (min-width: 600px) {
  #about-box .chunk,
  #about-box .chunk + .image-tag-container {
    /* padding-top: 68vh; */
    padding-top: 40vw;
  }
}
.magazine-container {
  /* padding-top: 44vh; */
  grid-column: 1/-1;
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(12, 78px);
  grid-gap: 24px;
  padding-bottom: 96px;
}

.magazine-container p {
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.333);
}

.magazine-container a {
  color: white;
}

.magazine-container a:hover {
  text-decoration: underline;
  color: white;
  opacity: 1;
}

@media only screen and (min-width: 600px) {
  .magazine-container .magazine-column-container:nth-child(1) {
    /* padding-right: 146px; */
    grid-column-start: 1;
    grid-column-end: span 5;
  }
  .magazine-container .magazine-column-container:nth-child(2) {
    grid-column-start: 7;
    grid-column-end: span 5;
  }
}
.magazine-link-out {
  grid-column-start: 7;
  grid-column-end: span 5;
}

.magazine-container .magazine-column-container:last-child {
  padding-right: 0;
}

#about-box .image-tag-container p {
  text-align: right;
}

.image-tag-container {
  grid-column: -7/-2;
  width: 100%;
  /* padding-top: 9vw; */
}

.image-tag-container p {
  /* text-align: right; */
}

.image-tag-container.on-bright {
  color: rgba(0, 0, 0, 0.3333);
}

/* Writing */
#writing-box.content-background {
  /* background-image: url("background_writing.png");
  background-size: contain;
  background-position: center top;
  min-height: 58vw; */
  /* height: 100%; */
}

#writing-box .chunk {
  padding-top: 36vw;
  padding-bottom: 96px;
}

/* Talks */
#talks-box.content-background {
  background-image: url("../assets/background_talks.png");
  background-size: contain;
  background-position: center top;
  min-height: 68vw;
}

#talks-box #writing-chunk {
  margin-top: -24px;
}

#talks-box .chunk {
  padding-top: 52vw;
}

/* Lets Make */
#lets-make-box h3 {
  color: #000000;
}

button {
  background: none;
  border-radius: 40px;
  background: white;
  color: black;
  padding: 1rem 4rem;
  border: none;
  /* height: 5em; */
  /* width: 18em; */
  text-align: center;
  /* text-decoration: none; */
  /* margin: 4px 2px; */
  outline: none;
}

.mobile-demo,
.pc-demo {
  grid-auto-flow: dense;
  align-content: center;
}

/* World  */
/* transition control */
a {
  /* display: block; */
  -webkit-transition: opacity 200ms ease-in-out;
  -moz-transition: opacity 200ms ease-in-out;
  -o-transition: opacity 200ms ease-in-out;
  -ms-transition: opacity 200ms ease-in-out;
  transition: opacity 200ms ease-in-out;
}

a:hover {
  opacity: 0.5;
}

a > * {
  opacity: inherit;
}

a .animated-arrow {
  padding-left: 0.5em;
  position: absolute;
  padding-right: 1em;
}

a:hover .animated-arrow {
  padding-left: 1.5em;
  padding-right: 0;
}

a .animated-arrow.animated-arrow-left {
  padding-right: 0.5em;
  position: absolute;
  padding-left: 0;
}

a:hover .animated-arrow.animated-arrow-left {
  padding-right: 1.5em;
  padding-left: 0;
}

.animated-arrow {
  -webkit-transition: padding-left 200ms ease-in-out, padding-right 200ms ease-in-out;
  -moz-transition: padding-left 200ms ease-in-out, padding-right 200ms ease-in-out;
  -o-transition: padding-left 200ms ease-in-out, padding-right 200ms ease-in-out;
  -ms-transition: padding-left 200ms ease-in-out, padding-right 200ms ease-in-out;
  transition: padding-left 200ms ease-in-out, padding-right 200ms ease-in-out;
}

.dynamicBackground.been-loaded {
  -webkit-transition: background-color 100ms linear;
  -moz-transition: background-color 100ms linear;
  -o-transition: background-color 100ms linear;
  -ms-transition: background-color 100ms linear;
  transition: background-color 100ms linear;
}

.grid-gap {
  width: 100%;
  height: 100%;
}

.horizontal-grid-gap {
  grid-column-start: 1;
  grid-column-end: -1;
  grid-row-end: span 1;
}

#about-box .horizontal-grid-gap {
  height: 9vh;
}

nobr {
  white-space: nowrap;
}

img.mix-blend-multiply {
  mix-blend-mode: multiply;
}

img.filter-grayscale {
  filter: grayscale(1);
}

.half-size-image-centered {
  height: 50%;
}

span.inline-span {
  display: block;
}
span.inline-span * {
  display: inline-block;
  vertical-align: bottom;
}
span.inline-span .use-font-symbol {
  line-height: 1;
}

a .sliding-arrow {
  -webkit-transition: padding-left 200ms ease-in-out;
  -moz-transition: padding-left 200ms ease-in-out;
  -o-transition: padding-left 200ms ease-in-out;
  -ms-transition: padding-left 200ms ease-in-out;
  transition: padding-left 200ms ease-in-out;
}
a:hover .sliding-arrow.sliding-arrow-small-slide {
  padding-left: 1.5rem;
}
a:hover .sliding-arrow.sliding-arrow-large-slide {
  padding-left: 6rem;
}

.animated-underline {
  --underline-color: $charcoal;
  background: linear-gradient(#353535, #353535);
  background-position: 0 85%;
  background-repeat: no-repeat;
  background-size: 100% 0.07em;
  display: inline-block;
}
.animated-underline > * {
  display: inline-block;
}

.animated-underline:hover {
  animation: animated_underline_keyframes 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes animated_underline_keyframes {
  0% {
    background-position-x: 100%;
    background-size: 100% 0.07em;
  }
  50% {
    background-position-x: 100%;
    background-size: 0 0.07em;
  }
  51% {
    background-position-x: 0;
    background-size: 0 0.07em;
  }
  to {
    background-position-x: 0;
    background-size: 100% 0.07em;
  }
}
.use-font-symbol {
  font-family: "freight-display-pro";
  font-variant-numeric: ordinal;
  font-feature-settings: "ornm" on, "liga" off, "clig" off;
  text-transform: none;
}

img {
  user-select: none; /* Standard syntax */
  -webkit-user-select: none; /* Chrome, Safari, and Opera */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
}

.not-selectable {
  user-select: none; /* For modern browsers */
  -webkit-user-select: none; /* For Safari */
  -moz-user-select: none; /* For Firefox */
}

.balance-text,
.mobile-balance-text {
  visibility: hidden;
}

@media (max-width: 600px) {
  .balance-text {
    display: none !important;
  }
}
@media (min-width: 601px) {
  .mobile-balance-text {
    display: none !important;
  }
}
#asterisk-translate-wrapper {
  z-index: 10;
}

.banner-container {
  grid-column: 3/-3;
  width: 100%;
}
.banner-container .banner-content {
  display: flex;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.banner-container .banner-content > *:not(:first-child) {
  padding-left: 1.5rem;
}
.banner-container .banner-content > :last-child {
  transition: margin-left 0.3s ease;
}
.banner-container .banner-content:hover > :last-child {
  margin-left: 11rem;
}

.content-box {
  /* padding-top: 40px; */
  width: 100%;
  max-width: 100%;
  /* height: 100%; */
  /* TODO There will be descrepancy in min-height with main site, where by default content boxes are one view size */
  /* min-height: 100%; */
  display: inline-grid;
  /* // grid row height 96  */
  /* // grid col heigh 78 */
  /* // grid gutter 24 */
  grid-template-columns: var(--grid-standard-col-template);
  grid-column-gap: var(--grid-standard-col-gap);
  grid-row-gap: 0;
  /* Make the grid be top left non stretched */
  justify-items: start;
  align-items: start;
  justify-content: center;
  align-content: start;
  overflow: hidden;
  position: relative;
}

.content-box.dynamic-background {
  background-color: unset;
}

.content-box.content-background {
  background-size: cover;
  background-repeat: no-repeat;
}

.content-box .content-background {
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
}

.content-box.half-box {
  height: 50%;
  min-height: 50%;
  justify-content: center;
  align-items: center;
  align-content: center;
  /* grid-template-rows: [margin-top] auto repeat(3, 96px) [margin-bot] auto; */
  text-align: center;
  /* grid-column: 4 / -4; */
}

.content-box.half-box h3 {
  color: rgba(0, 0, 0, 0.15);
}

.content-box.half-box .emphasized {
  color: white;
}

.content-box.half-box div {
  grid-column: 2/-2;
  justify-self: stretch;
}

.content-box.half-box .chunk {
  padding: 0;
}

.content-box {
  pointer-events: none;
}
.content-box * {
  pointer-events: auto;
}

.content-box {
  /* Text block - a content box for just text, has a subtitle on left and text area on right */
}
.content-box .text-block {
  grid-column-start: 1;
  grid-column-end: -1;
  display: grid;
  grid-template-columns: var(--grid-standard-col-template);
  grid-column-gap: var(--grid-standard-col-gap);
  grid-row-gap: 0;
  width: 100%;
  /* grid-gap: 24px; */
  /* column-gap: 24px;
  row-gap: 0px; */
}
.content-box .text-block > :not(:last-child) {
  margin-bottom: 3rem;
}
.content-box .text-block .text-block-data {
  grid-column-start: 1;
  grid-column-end: -1;
  display: grid;
  grid-template-columns: var(--grid-standard-col-template);
  width: 100%;
  /* grid-gap: 24px; */
  /* column-gap: 24px;
  row-gap: 0px; */
  grid-column-gap: var(--grid-standard-col-gap);
  grid-row-gap: 0;
}
.content-box .text-block .text-block-data div {
  grid-column-end: span 2;
  text-align: left;
  border-top: 1px solid;
  border-bottom: 1px solid;
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.content-box .text-block .text-block-data div:first-child {
  grid-column-start: 5;
}
.content-box .text-block .text-block-data div h3 {
  text-align: left;
}
.content-box .text-block .text-block-data.text-block-data-two-columns div {
  grid-column-end: span 3;
  border-top: 1px solid;
  border-bottom: none;
  --odd-child-start: 5;
  --even-child-start: 8;
}
.content-box .text-block .text-block-data.text-block-data-two-columns div:nth-child(odd) {
  grid-column-start: var(--odd-child-start);
}
.content-box .text-block .text-block-data.text-block-data-two-columns div:nth-child(even) {
  grid-column-start: var(--even-child-start);
}
.content-box .text-block .text-block-data.text-block-data-two-columns div:nth-last-child(1), .content-box .text-block .text-block-data.text-block-data-two-columns div:nth-last-child(2) {
  border-bottom: 1px solid;
}
.content-box .text-block .image-row {
  grid-column: 1/-1;
  display: flex;
  justify-content: center;
}
.content-box .text-block .image-row img {
  height: 13rem;
  width: auto;
  object-fit: contain; /* Ensures the image fits within the set height without being cropped */
  margin-left: 0rem;
  margin-right: 0rem;
  mix-blend-mode: luminosity;
  opacity: 80%;
}
.content-box .text-block h2,
.content-box .text-block h3 {
  text-align: center;
}
.content-box .text-block .section-title {
  grid-column-start: 5;
  grid-column-end: -5;
}
.content-box .text-block .section-title h2,
.content-box .text-block .section-title h6 {
  text-align: center;
}
.content-box .text-block .text-block-major-quote {
  grid-column-start: 3;
  grid-column-end: -3;
}
.content-box .text-block .text-block-major-quote h2,
.content-box .text-block .text-block-major-quote h6 {
  text-align: center;
}
.content-box .text-block .text-block-annotation {
  grid-column-start: 4;
  grid-column-end: -4;
  margin-top: -2rem;
}
.content-box .text-block .text-block-annotation h5 {
  text-align: left;
  letter-spacing: 0;
  text-transform: initial;
  font-weight: 600;
  line-height: 1.5;
  font-size: 0.8rem;
  position: relative;
}
.content-box .text-block .text-block-annotation h5:before {
  content: "—";
  top: -2em;
  position: absolute;
}
.content-box .text-block .text-block-content-bulleted {
  position: relative;
  margin: 0;
}
.content-box .text-block .text-block-content-bulleted.last-bullet {
  margin-bottom: 1rem;
}
.content-box .text-block .text-block-content-bulleted:before {
  content: "-";
  left: -1rem;
  position: absolute;
}
.content-box .text-block .text-block-content-quote {
  position: relative;
}
.content-box .text-block .text-block-content-quote:before {
  content: "“";
  left: -10px;
  position: absolute;
}
.content-box .text-block .text-block-content-quote:after {
  content: "”";
}
.content-box .text-block .text-block-content > :not(:last-child) {
  margin-bottom: 3rem;
}
.content-box .text-block .text-block-content + .img-with-text,
.content-box .text-block .img-with-text + .text-block-content {
  margin-top: 1.5rem;
}
.content-box .text-block .text-block-content,
.content-box .text-block .text-block-split-content,
.content-box .text-block h4,
.content-box .text-block img,
.content-box .text-block ol,
.content-box .text-block p {
  grid-column-start: 5;
  grid-column-end: -5;
  width: 100%;
}
.content-box .text-block img, .content-box .text-block video {
  grid-column-start: 1;
  grid-column-end: -1;
  width: 100%;
  justify-self: center;
  box-sizing: border-box;
}
.content-box .text-block img.asset-todo, .content-box .text-block video.asset-todo {
  background-color: white;
  height: 20vh;
}
.content-box .text-block .in-article-img {
  grid-column-start: 4;
  grid-column-end: -4;
  width: 100%;
  justify-self: center;
  box-sizing: border-box;
  border: 4px solid white;
}
.content-box .text-block .text-block-content.centered-image-container {
  display: flex;
  align-content: center;
  justify-content: center;
}
.content-box .text-block .text-block-content h4 {
  text-align: center;
}
.content-box .text-block .text-block-split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  grid-column-gap: 24px;
  grid-row-gap: 0;
}
.content-box .text-block .text-block-picture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  grid-auto-flow: dense;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}
.content-box .text-block .text-block-picture-grid img {
  grid-column-start: unset;
  grid-column-end: span 1;
  margin: 0;
}
.content-box .text-block .text-block-picture-grid-bleed {
  grid-column-start: 1;
  grid-column-end: -1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  width: 100%;
  grid-auto-flow: dense;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
}
.content-box .text-block .text-block-picture-grid-bleed img {
  grid-column-start: unset;
  grid-column-end: span 1;
  margin: 0;
}
.content-box .text-block .text-block-picture-four-item-curve {
  grid-column-start: 2;
  grid-column-end: -2;
  display: grid;
  grid-template-columns: repeat(12, 78px);
  width: 100%;
  grid-auto-flow: dense;
  grid-column-gap: 24px;
  justify-content: center;
}
.content-box .text-block .text-block-picture-four-item-curve > * {
  grid-column-end: span 3;
  margin: 0;
}
.content-box .text-block .text-block-picture-four-item-curve :nth-child(1) {
  grid-column-start: 2;
  grid-row-start: 1;
}
.content-box .text-block .text-block-picture-four-item-curve :nth-child(2) {
  grid-column-start: 7;
  grid-row-start: 1;
  margin-top: 14rem;
}
.content-box .text-block .text-block-picture-four-item-curve :nth-child(3) {
  grid-column-start: 3;
  grid-row-start: 2;
  margin-top: 8rem;
}
.content-box .text-block .text-block-picture-four-item-curve :nth-child(4) {
  grid-column-start: 8;
  grid-row-start: 2;
  margin-top: 22rem;
}
.content-box .text-block .text-block-picture-four-item-grid {
  grid-column-start: 2;
  grid-column-end: -2;
  display: grid;
  grid-template-columns: repeat(4, 282px);
  width: 100%;
  grid-auto-flow: dense;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  justify-content: center;
}
.content-box .text-block .text-block-picture-four-item-grid img {
  grid-column-start: unset;
  grid-column-end: span 1;
  margin: 0;
}
.content-box .text-block .text-block-picture-four-item-bleed {
  grid-column-start: 1;
  grid-column-end: -1;
  display: grid;
  grid-template-columns: 1fr repeat(4, 384px) 1fr;
  width: 100%;
  grid-auto-flow: dense;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  justify-content: center;
}
.content-box .text-block .text-block-picture-four-item-bleed img {
  grid-column-start: unset;
  grid-column-end: span 1;
  margin: 0;
}
.content-box .text-block .text-block-picture-two-item-bleed {
  grid-column-start: 1;
  grid-column-end: -1;
  display: grid;
  grid-template-columns: 1fr repeat(2, 588px) 1fr;
  width: 100%;
  grid-auto-flow: dense;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  justify-content: center;
}
.content-box .text-block .text-block-picture-two-item-bleed img {
  grid-column-start: unset;
  grid-column-end: span 1;
  margin: 0;
}
.content-box .text-block .text-block-img-bleed {
  width: 100%;
  grid-column-start: 4;
  grid-column-end: -4;
  justify-self: center;
}
.content-box .text-block .text-block-img-bleed img {
  width: 200%;
  margin-left: -50%;
}
.content-box .text-block .image-pair-container {
  grid-column-start: 1;
  grid-column-end: -1;
  display: grid;
  grid-template-columns: 1fr repeat(2, 426px) 1fr;
  width: 100%;
  grid-auto-flow: dense;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  justify-content: center;
}
.content-box .text-block .image-pair-container img:nth-child(1) {
  grid-column: 2/span 1;
}
.content-box .text-block .image-pair-container img:nth-child(2) {
  grid-column: 3/span 1;
}

body.case-study .content-box.brief-content-box {
  padding-top: 9rem;
  /*cast study brief block - contains a brief associated with a case study */
}
body.case-study .content-box.brief-content-box .case-study-brief {
  grid-column-start: 1;
  grid-column-end: -1;
  display: grid;
  width: 100%;
  /* grid-gap: 24px; */
  /* column-gap: 24px;
  row-gap: 0px; */
  grid-row-gap: 0;
  grid-template-columns: var(--grid-standard-col-template);
  grid-column-gap: var(--grid-standard-col-gap);
}
body.case-study .content-box.brief-content-box .case-study-brief .brief-title {
  grid-column: 4/span 4;
}
body.case-study .content-box.brief-content-box .case-study-brief .brief-title h6 + h2 {
  padding-top: 0.5rem;
}
body.case-study .content-box.brief-content-box .case-study-brief .brief-detail {
  grid-column-start: 10;
  grid-column-end: span 3;
}
body.case-study .content-box.brief-content-box .case-study-brief .brief-detail p + h6 {
  padding-top: 2rem;
}
body.case-study .content-box.brief-content-box .case-study-brief .brief-detail.brief-detail-first-column {
  grid-column-start: 9;
  grid-column-end: span 2;
}
body.case-study .content-box.brief-content-box .case-study-brief .brief-detail.brief-detail-second-column {
  grid-column-start: 11;
  grid-column-end: span 2;
}
body.case-study .content-box.brief-content-box .case-study-brief .brief-detail.brief-detail-first-column p,
body.case-study .content-box.brief-content-box .case-study-brief .brief-detail.brief-detail-second-column p {
  margin-top: 1.5rem;
}
body.case-study .content-box.brief-content-box .case-study-brief .brief-title h3 {
  margin-top: 1.5rem;
}
body.case-study .content-box.brief-content-box .case-study-brief .brief-detail-company {
  margin-top: 4.5rem;
  grid-column-start: 9;
  grid-column-end: span 4;
}

#root-dynamic-background {
  width: 100%;
  height: 125vh;
  z-index: -1;
  display: block;
  position: fixed;
  top: 0px;
  left: 0px;
  background-color: white;
}

body.portfolio #about h4 {
  font-size: 2rem;
  line-height: 1.5;
}
body.portfolio #code-for-america-box button {
  color: #d3652e;
}
body.portfolio #visa-box button {
  color: #364298;
}
body.portfolio #lettuce-box button {
  color: #f8bcad;
  background-color: black;
}
body.portfolio #along-box .bright-background {
  color: #212866;
}
body.portfolio #along-box .bright-background button {
  background-color: black;
}

#current-work-header {
  padding-top: 9rem;
}
#current-work-header h3 {
  color: #212866;
}

.case-study.bright-background h3 {
  color: black;
}
.case-study .footer h1,
.case-study .footer h2,
.case-study .footer h3,
.case-study .footer h4,
.case-study .footer h5,
.case-study .footer h6,
.case-study .footer h7,
.case-study .footer p {
  text-align: center;
}
.case-study .footer div {
  width: 100%;
  grid-column-start: 4;
  grid-column-end: -4;
}

h7 {
  display: block;
}

.case-study h1:first-child,
.case-study h2:first-child,
.case-study h3:first-child,
.case-study h4:first-child,
.case-study h5:first-child,
.case-study h6:first-child,
.case-study h7:first-child {
  padding-top: 0;
}

.case-study .text-block .text-block-content + .text-block-picture-grid-bleed {
  margin-top: -1rem;
}

.case-study .content-box.mobile-demo .demo-container {
  margin-bottom: -4.5rem;
}

.section-title h6 + h2 {
  padding-top: 1rem;
}

body.case-study #asterisk-translate-wrapper {
  display: none;
}

body.case-study .case-study-logo,
body.case-study .case-study-title {
  display: none;
}

@media (min-width: 601px) {
  #lettuce-box {
    padding-bottom: 8rem;
    margin-bottom: -8rem;
  }
}

body.portfolio #contact-box #contact-img {
  z-index: 2;
  background-color: #353535;
}
/* Mobile demo styling */
/* A mobile demo is any content box that has demo image intended to be in an iphone screen */
/* A .demo-container is the positioning div used for a demo image*/
.mobile-demo .demo-img {
  background-image: url("../assets/iphone_white_screen.png");
  background-blend-mode: multiply;
  aspect-ratio: 540/972;
}
.mobile-demo .demo-img#grindr-demo-img {
  aspect-ratio: 560/972;
}

.mobile-demo .demo-container,
.mobile-demo .demo-container .demo-img {
  background-size: contain;
}

.mobile-demo .demo-container {
  height: 90vh;
  /* TODO: Disrepancy with main site likely, removing during case study styling */
  /* margin-bottom: -12%; */
}

.mobile-demo .demo-img {
  height: 100%;
}

.mobile-demo.phone-left .demo-img,
.mobile-demo.phone-left .demo-container {
  grid-column-start: 2;
  grid-column-end: span 5;
  grid-row-start: 1;
  grid-row-end: span 1;
  justify-self: end;
  margin-right: -10vh;
  margin-left: -8.1vh;
}

.mobile-demo.phone-center .demo-img,
.mobile-demo.phone-center .demo-container {
  grid-column-start: 1;
  grid-column-end: -1;
  grid-row-end: span 1;
  justify-self: center;
}

.mobile-demo.phone-right .demo-img,
.mobile-demo.phone-right .demo-container {
  grid-column-start: 9;
  /* TODO: can I make column end a span 5? */
  grid-column-end: span 5;
  grid-row-start: 1;
  grid-row-end: span 1;
  justify-self: start;
  margin-right: -10vh;
  margin-left: -8.1vh;
}

.pc-demo .demo-img {
  /* background-image: url("../assets/iphone_white_screen.png"); */
  background-image: url("../assets/macbook.png");
  aspect-ratio: 1124/1197;
}

/* TODO: I don't know why these have both demo container and demo img, seems like duplicate? */
.pc-demo.pc-demo-left .demo-container,
.pc-demo.pc-demo-left .demo-img {
  /* background-size: cover; */
  /* background-position: right 0; */
  grid-column-start: 1;
  grid-column-end: 8;
  /* Compensations for image filling more space than 'true content' */
  /* margin-bottom: -50vh; */
  justify-self: right;
}

.pc-demo.pc-demo-center .demo-container {
  /* background-size: cover; */
  /* background-position: right 0; */
  grid-column-start: 4;
  grid-column-end: -4;
  /* Compensations for image filling more space than 'true content' */
  width: 131.4%;
  /* Compensation of height overflow is done in .pc-demo-center + .content-box */
  /* margin-bottom: -90%; */
  /* margin-right: -82px; */
  justify-self: center;
}

.pc-demo .demo-img {
  width: 100%;
}

.pc-demo.pc-demo-right .demo-container,
.pc-demo.pc-demo-right .demo-img {
  /* background-size: cover; */
  /* background-position: right 0; */
  grid-column-start: 8;
  grid-column-end: -1;
  justify-self: left;
}

.pc-demo.pc-demo-left .demo-container,
.pc-demo.pc-demo-left .demo-img,
.pc-demo.pc-demo-right .demo-container,
.pc-demo.pc-demo-right .demo-img {
  height: 136vh;
  /* Compensations for image filling more space than 'true content' */
  margin-left: -15.2vh;
  margin-top: -4.9vh;
  margin-bottom: -69.9vh;
  margin-right: -15vh;
}

.pc-demo.pc-demo-left .demo-img {
  margin-right: calc(-15vh - 12px);
}

.pc-demo.pc-demo-right .demo-img {
  margin-left: calc(-15.2vh - 12px - 2px);
}

.pc-demo-center + .content-box {
  /* This is to compensate for the massive amount of overflow a pc demo image has (the shadow) */
}

body.case-study h2 + h3 {
  padding-top: 2.5em;
}
body.case-study h4 + h4 {
  /* When there are two link outs for a chunk */
  padding-top: 24px;
}
body.case-study h3 + button {
  /* Has to be margin to not distort button */
  margin-top: 24px;
}
body.case-study button + h4 {
  padding-top: 32px;
}
body.case-study .content-box.mobile-demo,
body.case-study .content-box.pc-demo {
  padding-top: 4rem;
  overflow: visible;
}
body.case-study .content-box.mobile-demo .navigation-container + .case-study-title,
body.case-study .content-box.pc-demo .navigation-container + .case-study-title {
  padding-top: 3rem;
}
body.case-study .content-box.mobile-demo .case-study-title + .case-study-article-title,
body.case-study .content-box.pc-demo .case-study-title + .case-study-article-title {
  padding-top: 1rem;
}
body.case-study .navigation-container {
  grid-column-start: 2;
  grid-column-end: span 3;
  grid-row: 1;
  text-align: left;
  width: 100%;
  align-self: start;
}
body.case-study .title-text {
  grid-column-start: 7;
  grid-column-end: span 6;
  padding-top: 2rem;
}
body.case-study .case-study-title {
  grid-column-start: 3;
  grid-column-end: -3;
  text-align: center;
  width: 100%;
}
body.case-study .case-study-title h5 {
  color: white;
}
body.case-study .case-study-logo {
  grid-column-start: 7;
  grid-column-end: span 2;
  text-align: center;
  width: 100%;
  padding-top: 2rem;
  padding-bottom: 6rem;
}
body.case-study .case-study-logo img {
  width: 100%;
}
body.case-study .case-study-article-title {
  grid-column: 4/-4;
  padding-top: 9rem;
  text-align: center;
  width: 100%;
}
body.case-study .case-study-article-title h3 {
  color: white;
}
body.case-study .content-box .case-study-author {
  grid-column-start: -5;
  grid-column-end: span 2;
  align-self: end;
  justify-self: end;
}
body.case-study .content-box.mobile-demo.phone-center .demo-container,
body.case-study .content-box.pc-demo-center .demo-container {
  padding-top: 10rem;
}
body.case-study .content-box {
  padding-top: 9rem;
}
body.case-study .content-box.footer {
  padding-bottom: 12rem;
  padding-top: 4rem;
}
body.case-study .content-box.footer > :not(:first-child) {
  padding-top: 4rem;
}
body.case-study .pc-demo .demo-container {
  width: 100%;
}
body.case-study .pc-demo .demo-container img {
  --left-var: 15.5%;
  --right-var: 15.1%;
  width: calc(100% + var(--left-var) + var(--right-var));
  margin-left: calc(-1 * var(--left-var));
  margin-right: calc(-1 * var(--right-var));
  margin-bottom: -66%;
}

/* margin-bottom: 1rem; */
body.case-study.visa {
  color: #1a1f71;
}
body.case-study.visa body,
body.case-study.visa h1,
body.case-study.visa h2,
body.case-study.visa h3,
body.case-study.visa h4,
body.case-study.visa h5,
body.case-study.visa h6,
body.case-study.visa h7,
body.case-study.visa p {
  color: #1a1f71;
}

body.case-study.code-for-america {
  color: #192e45;
}
body.case-study.code-for-america body,
body.case-study.code-for-america h1,
body.case-study.code-for-america h2,
body.case-study.code-for-america h3,
body.case-study.code-for-america h4,
body.case-study.code-for-america h5,
body.case-study.code-for-america h6,
body.case-study.code-for-america h7,
body.case-study.code-for-america p {
  color: #192e45;
}

body.case-study.lettuce {
  color: #130202;
}
body.case-study.lettuce body,
body.case-study.lettuce h1,
body.case-study.lettuce h2,
body.case-study.lettuce h3,
body.case-study.lettuce h4,
body.case-study.lettuce h5,
body.case-study.lettuce h6,
body.case-study.lettuce h7 {
  color: #130202;
}
body.case-study.lettuce .pc-demo-center body,
body.case-study.lettuce .pc-demo-center h1,
body.case-study.lettuce .pc-demo-center h2,
body.case-study.lettuce .pc-demo-center h3,
body.case-study.lettuce .pc-demo-center h4,
body.case-study.lettuce .pc-demo-center h5,
body.case-study.lettuce .pc-demo-center h6,
body.case-study.lettuce .pc-demo-center h7 {
  color: #ffffff;
}

body.case-study.grow {
  color: #353535;
}
body.case-study.grow body,
body.case-study.grow h1,
body.case-study.grow h2,
body.case-study.grow h3,
body.case-study.grow h4,
body.case-study.grow h5,
body.case-study.grow h6,
body.case-study.grow h7 {
  color: #353535;
}
body.case-study.grow .pc-demo-center body,
body.case-study.grow .pc-demo-center h1,
body.case-study.grow .pc-demo-center h2,
body.case-study.grow .pc-demo-center h3,
body.case-study.grow .pc-demo-center h4,
body.case-study.grow .pc-demo-center h5,
body.case-study.grow .pc-demo-center h6,
body.case-study.grow .pc-demo-center h7 {
  color: #353535;
}

body.case-study.along {
  color: #212866;
}
body.case-study.along body,
body.case-study.along h1,
body.case-study.along h2,
body.case-study.along h3,
body.case-study.along h4,
body.case-study.along h5,
body.case-study.along h6,
body.case-study.along h7 {
  color: #212866;
}
body.case-study.along .sun-face-container {
  position: absolute;
  bottom: -4rem;
  right: 0px;
}

body.case-study.typefeels {
  --hero-transition-duration: 0.5s;
  --hero-transition-delay: 0s;
  --hero-transition-ease: ease-in-out;
  color: #353535;
}
body.case-study.typefeels body,
body.case-study.typefeels h1,
body.case-study.typefeels h2,
body.case-study.typefeels h3,
body.case-study.typefeels h4,
body.case-study.typefeels h5,
body.case-study.typefeels h6,
body.case-study.typefeels h7 {
  color: #353535;
}
body.case-study.typefeels .content-box {
  padding-top: 3rem;
}
body.case-study.typefeels .text-block h3.styled-word {
  text-align: left;
  font-style: italic;
  margin-bottom: 0;
}
body.case-study.typefeels .italic-line {
  font-style: italic;
}
body.case-study.typefeels .hero-content-box {
  min-height: 100%;
  max-height: 100%;
  height: 100%;
  padding-top: 0rem;
}
body.case-study.typefeels .hero-content-box h2 {
  font-size: 2rem;
}
body.case-study.typefeels .hero-content-box .hero-header,
body.case-study.typefeels .hero-content-box .hero-footer {
  grid-column: 1/-1;
  width: 100%;
  display: flex;
  justify-content: center; /* center all content */
  position: relative;
  margin-bottom: 4rem;
}
body.case-study.typefeels .hero-content-box .hero-header > *,
body.case-study.typefeels .hero-content-box .hero-footer > * {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
body.case-study.typefeels .hero-content-box .hero-header .language-container,
body.case-study.typefeels .hero-content-box .hero-footer .language-container {
  display: grid;
  grid-template-columns: 1fr;
  position: absolute;
  left: 64px;
}
body.case-study.typefeels .hero-content-box .hero-header .language-container > *,
body.case-study.typefeels .hero-content-box .hero-footer .language-container > * {
  grid-column: 1/1;
  grid-row: 1/1;
  visibility: hidden;
}
body.case-study.typefeels .hero-content-box .hero-header .right-symbol-container,
body.case-study.typefeels .hero-content-box .hero-footer .right-symbol-container {
  position: absolute;
  right: 64px;
}
body.case-study.typefeels .hero-content-box .hero-header .left-symbol-container,
body.case-study.typefeels .hero-content-box .hero-footer .left-symbol-container {
  position: absolute;
  left: 64px;
}
body.case-study.typefeels .hero-content-box .hero-header {
  border-bottom: 1px solid #353535;
}
body.case-study.typefeels .hero-content-box .hero-footer {
  border-top: 1px solid #353535;
  position: absolute;
  inset-block-end: 0; /* aligns to bottom in writing direction */
  margin-bottom: 0;
  width: 100%;
}
body.case-study.typefeels .hero-content-box .hero-words-annotations-container {
  grid-column: var(--grid-columns-full-bleed);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-column-gap: 24px;
  align-items: stretch;
  grid-template-rows: auto;
  margin-left: 64px;
  margin-right: 64px;
  /* Assign grid positions manually using nth-child */
}
body.case-study.typefeels .hero-content-box .hero-words-annotations-container > * {
  grid-row: 1;
  margin-bottom: 28px;
}
body.case-study.typefeels .hero-content-box .hero-words-annotations-container > *:nth-child(5n+1) {
  grid-column: 1/span 1;
}
body.case-study.typefeels .hero-content-box .hero-words-annotations-container > *:nth-child(5n+2) {
  grid-column: 2/span 1;
}
body.case-study.typefeels .hero-content-box .hero-words-annotations-container > *:nth-child(5n+3) {
  grid-column: 3/span 1;
}
body.case-study.typefeels .hero-content-box .hero-words-annotations-container > *:nth-child(5n+4) {
  grid-column: 4/span 1;
}
body.case-study.typefeels .hero-content-box .hero-words-annotations-container > *:nth-child(5n+5) {
  grid-column: 5/span 1;
}
body.case-study.typefeels .hero-content-box .hero-words-annotations-container .annotation {
  visibility: hidden;
  line-height: 20px;
}
body.case-study.typefeels .hero-content-box .hero-words-container {
  grid-column: var(--grid-columns-full-bleed);
  width: 100%;
  padding: 0 64px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
}
body.case-study.typefeels .hero-content-box .hero-words-container .word {
  font-size: 116px;
  letter-spacing: -4px;
  display: inline-block;
  line-height: 1;
  overflow: hidden;
  margin-right: 40px;
  cursor: pointer !important;
}
body.case-study.typefeels .hero-content-box .hero-words-container .word sup {
  font-size: 0.6em;
  vertical-align: super;
  display: none;
}
body.case-study.typefeels .hero-content-box .hero-words-container .word {
  opacity: 0.2;
}
body.case-study.typefeels .hero-content-box .hero-words-container .word1 {
  font-family: "Noto Sans HK";
  font-weight: 500;
}
body.case-study.typefeels .hero-content-box .hero-words-container .word2 {
  font-family: "Noto Sans";
  font-weight: 300;
}
body.case-study.typefeels .hero-content-box .hero-words-container .word3 {
  font-family: "Noto Sans";
  font-weight: 600;
}
body.case-study.typefeels .hero-content-box .hero-words-container .word4 {
  font-family: "Noto Sans";
  font-weight: 300;
}
body.case-study.typefeels .hero-content-box .hero-words-container .word5 {
  font-family: "Noto Serif";
  font-weight: 400;
}
body.case-study.typefeels .hero-content-box .hero-words-container .word6 {
  font-family: "Noto Serif";
  font-weight: 300;
}
body.case-study.typefeels .hero-content-box .hero-words-container .word7 {
  font-family: "Noto Serif";
  font-weight: 400;
}
body.case-study.typefeels .hero-content-box {
  background-color: #fffaee;
  transition: color var(--hero-transition-duration) var(--hero-transition-ease) var(--hero-transition-delay), background-color var(--hero-transition-duration) var(--hero-transition-ease) var(--hero-transition-delay), opacity var(--hero-transition-duration) var(--hero-transition-ease) var(--hero-transition-delay), border-color var(--hero-transition-duration) var(--hero-transition-ease) var(--hero-transition-delay);
}
body.case-study.typefeels .hero-content-box .word,
body.case-study.typefeels .hero-content-box .annotation,
body.case-study.typefeels .hero-content-box .hero-header,
body.case-study.typefeels .hero-content-box .hero-footer {
  color: #353535;
  transition: color var(--hero-transition-duration) var(--hero-transition-ease) var(--hero-transition-delay), background-color var(--hero-transition-duration) var(--hero-transition-ease) var(--hero-transition-delay), opacity var(--hero-transition-duration) var(--hero-transition-ease) var(--hero-transition-delay), border-color var(--hero-transition-duration) var(--hero-transition-ease) var(--hero-transition-delay);
}
body.case-study.typefeels .hero-content-box.word1-selected {
  background-color: #93e6a8;
}
body.case-study.typefeels .hero-content-box.word1-selected .word,
body.case-study.typefeels .hero-content-box.word1-selected .annotation,
body.case-study.typefeels .hero-content-box.word1-selected .hero-header,
body.case-study.typefeels .hero-content-box.word1-selected .hero-footer {
  color: #052c13 !important;
}
body.case-study.typefeels .hero-content-box.word1-selected .word1 {
  opacity: 1;
}
body.case-study.typefeels .hero-content-box.word1-selected .hero-header {
  border-bottom: 1px solid #052c13;
}
body.case-study.typefeels .hero-content-box.word1-selected .hero-footer {
  border-top: 1px solid #052c13;
}
body.case-study.typefeels .hero-content-box.word2-selected {
  background-color: #daefff;
}
body.case-study.typefeels .hero-content-box.word2-selected .word,
body.case-study.typefeels .hero-content-box.word2-selected .annotation,
body.case-study.typefeels .hero-content-box.word2-selected .hero-header,
body.case-study.typefeels .hero-content-box.word2-selected .hero-footer {
  color: #191878;
}
body.case-study.typefeels .hero-content-box.word2-selected .word2 {
  opacity: 1;
}
body.case-study.typefeels .hero-content-box.word2-selected .hero-header {
  border-bottom: 1px solid #191878;
}
body.case-study.typefeels .hero-content-box.word2-selected .hero-footer {
  border-top: 1px solid #191878;
}
body.case-study.typefeels .hero-content-box.word3-selected {
  background-color: #fffeea;
}
body.case-study.typefeels .hero-content-box.word3-selected .word,
body.case-study.typefeels .hero-content-box.word3-selected .annotation,
body.case-study.typefeels .hero-content-box.word3-selected .hero-header,
body.case-study.typefeels .hero-content-box.word3-selected .hero-footer {
  color: #de4e00;
}
body.case-study.typefeels .hero-content-box.word3-selected .word3 {
  opacity: 1;
}
body.case-study.typefeels .hero-content-box.word3-selected .hero-header {
  border-bottom: 1px solid #de4e00;
}
body.case-study.typefeels .hero-content-box.word3-selected .hero-footer {
  border-top: 1px solid #de4e00;
}
body.case-study.typefeels .hero-content-box.word4-selected {
  background-color: #fff0f0;
}
body.case-study.typefeels .hero-content-box.word4-selected .word,
body.case-study.typefeels .hero-content-box.word4-selected .annotation,
body.case-study.typefeels .hero-content-box.word4-selected .hero-header,
body.case-study.typefeels .hero-content-box.word4-selected .hero-footer {
  color: #191878;
}
body.case-study.typefeels .hero-content-box.word4-selected .word4 {
  opacity: 1;
}
body.case-study.typefeels .hero-content-box.word4-selected .hero-header {
  border-bottom: 1px solid #191878;
}
body.case-study.typefeels .hero-content-box.word4-selected .hero-footer {
  border-top: 1px solid #191878;
}
body.case-study.typefeels .hero-content-box.word5-selected {
  background-color: #e8d1f8;
}
body.case-study.typefeels .hero-content-box.word5-selected .word,
body.case-study.typefeels .hero-content-box.word5-selected .annotation,
body.case-study.typefeels .hero-content-box.word5-selected .hero-header,
body.case-study.typefeels .hero-content-box.word5-selected .hero-footer {
  color: #6c1900;
}
body.case-study.typefeels .hero-content-box.word5-selected .word5 {
  opacity: 1;
}
body.case-study.typefeels .hero-content-box.word5-selected .hero-header {
  border-bottom: 1px solid #6c1900;
}
body.case-study.typefeels .hero-content-box.word5-selected .hero-footer {
  border-top: 1px solid #6c1900;
}
body.case-study.typefeels .hero-content-box.word6-selected {
  background-color: #ffffb8;
}
body.case-study.typefeels .hero-content-box.word6-selected .word,
body.case-study.typefeels .hero-content-box.word6-selected .annotation,
body.case-study.typefeels .hero-content-box.word6-selected .hero-header,
body.case-study.typefeels .hero-content-box.word6-selected .hero-footer {
  color: #293a1a;
}
body.case-study.typefeels .hero-content-box.word6-selected .word6 {
  opacity: 1;
}
body.case-study.typefeels .hero-content-box.word6-selected .hero-header {
  border-bottom: 1px solid #293a1a;
}
body.case-study.typefeels .hero-content-box.word6-selected .hero-footer {
  border-top: 1px solid #293a1a;
}
body.case-study.typefeels .hero-content-box.word7-selected {
  background-color: #fffeea;
}
body.case-study.typefeels .hero-content-box.word7-selected .word,
body.case-study.typefeels .hero-content-box.word7-selected .annotation,
body.case-study.typefeels .hero-content-box.word7-selected .hero-header,
body.case-study.typefeels .hero-content-box.word7-selected .hero-footer {
  color: #118d47;
}
body.case-study.typefeels .hero-content-box.word7-selected .word7 {
  opacity: 1;
}
body.case-study.typefeels .hero-content-box.word7-selected .hero-header {
  border-bottom: 1px solid #293a1a;
}
body.case-study.typefeels .hero-content-box.word7-selected .hero-footer {
  border-top: 1px solid #293a1a;
}

body.portfolio {
  color: #353535;
}
body.portfolio .bright-background h1,
body.portfolio .bright-background h2,
body.portfolio .bright-background h3,
body.portfolio .bright-background h4,
body.portfolio .bright-background h5,
body.portfolio .bright-background h6,
body.portfolio .bright-background p,
body.portfolio .bright-background li {
  color: #353535;
}
body.portfolio h1,
body.portfolio h2,
body.portfolio h3,
body.portfolio h4,
body.portfolio h5,
body.portfolio h6,
body.portfolio p,
body.portfolio li {
  color: #353535;
}
body.portfolio .content-box.pc-demo {
  align-content: center;
  padding-bottom: 200px;
  margin-bottom: -200px;
}
body.portfolio .content-box.pc-demo,
body.portfolio .content-box.mobile-demo {
  height: 140%;
}
body.portfolio .content-box.mobile-demo {
  align-content: center;
}
body.portfolio .demo-img {
  width: unset;
}
body.portfolio .mobile-demo .demo-img {
  margin-bottom: -12%;
  height: 90vh;
}
body.portfolio .content-box {
  min-height: 100%;
}
body.portfolio .navigation-container h6 {
  text-align: end;
}
body.portfolio .navigation-container a {
  display: inline-block;
  padding: 0;
}
body.portfolio #about {
  /* align-content: stretch; */
  min-height: 100%;
  grid-template-rows: auto auto auto;
}
body.portfolio #about a {
  border-bottom: 1px solid;
}
body.portfolio #about p {
  line-height: 2;
}
body.portfolio #about .about-header {
  grid-column-start: 3;
  grid-column-end: span 3;
  padding-top: 6rem;
}
body.portfolio #about .about-text-1 {
  grid-column-start: 3;
  grid-column-end: span 7;
}
body.portfolio #about .about-header + .about-text-1 {
  padding-top: 0.5rem;
}
body.portfolio #about .about-text-2 {
  grid-column-start: 7;
  grid-column-end: span 6;
  padding-top: 6rem;
}
body.portfolio #about .about-text-2 :not(:last-child) {
  margin-bottom: 1.5rem;
}
body.portfolio .work-header {
  min-height: 0;
  max-height: 20%;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
body.portfolio .work-header div {
  grid-column-start: 3;
  grid-column-end: span 4;
}
body.portfolio #home-content-box h1,
body.portfolio #contact-box h1 {
  font-size: 6rem;
  text-transform: uppercase;
}
body.portfolio .contact-links {
  align-self: start;
  width: 100%;
}
body.portfolio .contact-links > div {
  padding: 1.5rem 0 1.5rem 0;
  margin: -2px;
}

.bring-on-screen {
  transition: all 0.5s ease-in-out;
  transition-delay: 0.3s;
  opacity: 0.2;
  width: 100%;
}

.bring-on-screen-from-right {
  transform: translateX(4rem);
}

.bring-on-screen-from-left {
  transform: translateX(-4rem);
}

.bring-on-screen-from-below {
  transform: translateY(4rem);
}

.bring-on-screen.bring-on-screen-post {
  transform: translateX(0);
  transform: translateY(0);
  opacity: 1;
}

.emphasized-text {
  font-style: italic;
}

.section-title .label + .content {
  margin-top: 1rem;
}

#password-content-box {
  min-height: unset;
  padding-top: 6rem;
  padding-bottom: 6rem;
  margin-top: 6rem;
  box-sizing: border-box;
  border-top: 1px solid #353535;
  border-bottom: 1px solid #353535;
  /* Remove the default appearance of the input field */
}
#password-content-box.password-logged-in {
  min-height: 35%;
}
#password-content-box > div {
  grid-column: 1/-1;
}
#password-content-box #password-div,
#password-content-box #password-logged-in-divider {
  justify-self: stretch;
  margin-left: 2rem;
  margin-right: 2rem;
}
#password-content-box #password-form,
#password-content-box #password-logged-in-divider {
  background: linear-gradient(#353535, #353535);
  background-position: 0 76%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  margin-top: 1rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#password-content-box #password-form button,
#password-content-box #password-logged-in-divider button {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  padding-left: 2rem;
  background: none;
  color: #353535;
}
#password-content-box #password-form button > *,
#password-content-box #password-logged-in-divider button > * {
  display: inline-block;
}
#password-content-box #password-form button :not(:first-child),
#password-content-box #password-logged-in-divider button :not(:first-child) {
  padding-left: 1.5rem;
}
#password-content-box #password-form.has_focus {
  animation: animated_underline_keyframes 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#password-content-box #password-input {
  width: 90%;
  line-height: 100%;
}
#password-content-box #password-input::placeholder {
  color: inherit;
  font-style: italic;
}
#password-content-box #password-input {
  background-color: transparent;
}
#password-content-box #password-input:focus {
  border: none;
  outline: none;
  color: #353535;
  background-color: var(--dynamic-burn-color);
  mix-blend-mode: multiply;
}
#password-content-box #password-input:focus::placeholder {
  display: none;
  visibility: hidden;
}
#password-content-box #password-input:placeholder-shown + button {
  visibility: hidden;
}
#password-content-box #password-input:not(:placeholder-shown) + button {
  visibility: visible;
}

body.portfolio {
  /* Home  */
  /* Home positioning  */
}
body.portfolio #home-content-box {
  max-height: 100%;
  height: 100%;
  grid-template-rows: 3rem 0px calc(50% - 3rem) 4.5rem 1fr calc(25% - 24px) 24px;
  grid-auto-flow: dense;
}
body.portfolio #home-content-box .navigation-container {
  text-align: right;
  width: 100%;
  align-self: end;
  height: 100%;
  align-content: center;
}
body.portfolio #home-content-box #subtext-container {
  --subtext-font-size: 96px;
  margin-bottom: calc(-1 * var(--subtext-font-size) - 14px);
  grid-column: 4/-4;
  width: 100%;
  align-self: end;
  align-content: end;
  text-align: center;
}
body.portfolio #home-content-box #subtext-container .home-subtext {
  display: inline-block;
  font-size: var(--subtext-font-size);
  line-height: 1;
  letter-spacing: 0;
  font-weight: bold;
  outline: #353535;
  -webkit-text-stroke: 1px #353535;
  color: transparent;
}
body.portfolio .built-grid-row {
  grid-row: 6;
}
body.portfolio .quote-grid-row {
  grid-row: 6;
  align-self: end;
}
body.portfolio .subtext-grid-row {
  grid-row: 3;
}
body.portfolio .purpose-grid-row {
  grid-row: 6;
}

body.portfolio {
  --animation-rate-multiplier: 0.5;
  --bring-on-screen-duration: 0.5s;
}
body.portfolio .skip-portfolio-home-transition {
  transition: none !important;
  --animation-duration: 0s !important;
  visibility: visible !important;
  opacity: 1 !important;
}
body.portfolio #home-asterisk {
  --animation-duration: calc(2.2s * var(--animation-rate-multiplier));
  visibility: hidden;
  animation: linear;
  transition: opacity var(--bring-on-screen-duration) ease;
  opacity: 0;
}
body.portfolio #home-asterisk.bring_on_screen {
  visibility: visible;
  opacity: 1;
}
body.portfolio #home-asterisk.start_animation {
  --animation-duration: calc(20s * var(--animation-rate-multiplier));
  --per-animation-rotation: calc(360deg * (48 / 16));
  animation: asteriskKeyframes var(--animation-duration) forwards;
  animation-timing-function: ease-out;
  animation-timing-function: cubic-bezier(0, 0, 0, 1);
  animation-timing-function: cubic-bezier(0.4, 0, 0.65, 1);
}
@keyframes asteriskKeyframes {
  0% {
    transform: rotate(0deg);
  }
  65% {
    transform: rotate(calc(var(--per-animation-rotation) * 1));
  }
  100% {
    transform: rotate(calc(var(--per-animation-rotation) * 1));
  }
}
body.portfolio #home-purpose,
body.portfolio #contact-together {
  visibility: hidden;
  transition: opacity var(--bring-on-screen-duration) ease, margin var(--bring-on-screen-duration) ease;
  opacity: 0;
  margin-right: -2rem;
}
body.portfolio #home-purpose.bring_on_screen, body.portfolio #home-purpose.is-on-screen,
body.portfolio #contact-together.bring_on_screen,
body.portfolio #contact-together.is-on-screen {
  visibility: visible;
  opacity: 1;
  margin: 0;
}
body.portfolio #home-built,
body.portfolio #contact-better {
  visibility: hidden;
  transition: opacity var(--bring-on-screen-duration) ease, margin var(--bring-on-screen-duration) ease;
  opacity: 0;
  margin-left: -2rem;
}
body.portfolio #home-built.bring_on_screen, body.portfolio #home-built.is-on-screen,
body.portfolio #contact-better.bring_on_screen,
body.portfolio #contact-better.is-on-screen {
  visibility: visible;
  opacity: 1;
  margin-left: 0;
}
body.portfolio #home-built-arrow {
  --animation-duration: calc(2s * var(--animation-rate-multiplier));
  visibility: hidden;
  transition: opacity var(--animation-duration) ease, margin var(--animation-duration) ease;
  margin-bottom: 2rem;
  opacity: 0;
}
body.portfolio #home-built-arrow.start_animation {
  visibility: visible;
  opacity: 1;
  margin-bottom: 0rem;
}
@keyframes subtextFadeInThenOut {
  0% {
    color: transparent;
  }
  9% {
    color: #353535;
  }
  100% {
    color: transparent;
  }
}
@keyframes subtextFadeIn {
  0% {
    color: transparent;
  }
  87% {
    color: #353535;
  }
  100% {
    color: #353535;
  }
}
body.portfolio .home-subtext {
  --animation-duration: calc(2.2s * var(--animation-rate-multiplier));
  visibility: hidden;
  animation: linear;
  transition: opacity var(--animation-duration) ease;
  opacity: 0;
}
body.portfolio .home-subtext.bring_on_screen {
  --animation-duration: calc(2.2s * var(--animation-rate-multiplier));
  visibility: visible;
  animation: linear;
  opacity: 1;
}
body.portfolio .home-subtext.start_animation {
  visibility: visible;
  animation: subtextFadeInThenOut var(--animation-duration) forwards;
}
body.portfolio .home-subtext.home-subtext-final.start_animation {
  visibility: visible;
  animation: subtextFadeIn var(--animation-duration) forwards;
}
body.portfolio #by-pam {
  --animation-duration: calc(1s * var(--animation-rate-multiplier));
  transition: opacity var(--animation-duration) ease;
  opacity: 0;
  visibility: hidden;
}
body.portfolio #by-pam.start_animation {
  opacity: 1;
  visibility: visible;
}
body.portfolio #home-quote,
body.portfolio #home-photo,
body.portfolio #home-san-francisco {
  --animation-duration: calc(1s * var(--animation-rate-multiplier));
  transition: opacity var(--animation-duration) ease;
  opacity: 0;
  visibility: hidden;
}
body.portfolio #home-quote.start_animation,
body.portfolio #home-photo.start_animation,
body.portfolio #home-san-francisco.start_animation {
  opacity: 1;
  visibility: visible;
}
body.portfolio .overlay-navigation-container {
  transition: opacity var(--bring-on-screen-duration) ease;
  opacity: 0;
  visibility: hidden;
}
body.portfolio .overlay-navigation-container.bring_on_screen {
  opacity: 1;
  visibility: visible;
}

body.portfolio #highlights {
  --vertical-margin-between-children: 6rem;
  padding: var(--vertical-margin-between-children) 0 0 0;
}
body.portfolio #highlights .symbol-star {
  font-size: 200%;
  vertical-align: text-top;
}
body.portfolio #highlights > * {
  margin-top: var(--vertical-margin-between-children);
}
body.portfolio #highlights ul {
  list-style: none; /* Remove default bullets */
  padding-left: 0; /* Remove padding */
}
body.portfolio #highlights ul li {
  margin-right: 15px; /* Space between items */
  margin-left: 0;
  position: relative; /* Position relative for pseudo-element */
}
body.portfolio #highlights ul li::before {
  content: "—";
  position: absolute; /* Absolute positioning for custom placement */
  left: -1.25rem; /* Adjust position of bullet */
  top: 1em;
  transform: translateY(-50%); /* Center bullet vertically */
}
body.portfolio #highlights .contact-links {
  grid-column: 5/-5;
}
body.portfolio #highlights .contact-links a {
  display: flex;
}
body.portfolio #highlights .contact-links a > *:not(:first-child) {
  padding-left: 1.5rem;
}
body.portfolio #highlights .contact-links .use-font-symbol {
  transition: margin-left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
body.portfolio #highlights .contact-links .animated-chunk-line:hover .use-font-symbol {
  margin-left: 23.5rem;
}
@media (max-width: 600px) {
  body.portfolio #highlights .contact-links .animated-chunk-line:hover .use-font-symbol {
    margin-left: 0rem;
  }
}

body.portfolio {
  /* Sydney */
  --ripple-radius: 50px;
  --ripple-base-scale: 1;
  --ripple-scale-modifier: 1;
}
body.portfolio .chunk {
  align-self: end;
  padding-top: 0;
  padding-bottom: 0;
}
body.portfolio .chunk .case-study-text p {
  font-weight: 600;
}
body.portfolio .chunk a > *,
body.portfolio .sydney-chunk > *,
body.portfolio #grindr-chunk > *,
body.portfolio #google-chunk > * {
  padding-top: 1.5rem;
}
body.portfolio .chunk a :last-child {
  padding-bottom: 1.5rem;
}
body.portfolio .mobile-demo .chunk {
  margin-bottom: 11.5vh;
}
body.portfolio .chunk a > span {
  display: block;
}
body.portfolio .double-chunk .chunk.on-left {
  grid-column-start: 1;
  grid-column-end: 5;
}
body.portfolio .chunk.on-left,
body.portfolio .pc-demo.right .chunk,
body.portfolio .phone-right .chunk {
  grid-column-start: 3;
  grid-column-end: span 3;
}
body.portfolio .double-chunk .chunk.on-right {
  grid-column-start: 9;
  grid-column-end: -1;
}
body.portfolio .chunk.on-right,
body.portfolio .pc-demo.left .chunk,
body.portfolio .phone-left .chunk {
  grid-column-start: 10;
  grid-column-end: span 3;
}
body.portfolio #sydney-box {
  background-image: url("../../assets/sydney/globe.png");
  --background-img-origin-width: 6528px;
  --background-img-origin-height: 1434px;
  --background-img-horiz-offset: 148px;
  --background-img-scale: 0.5;
  background-size: calc(var(--background-img-origin-width) * var(--background-img-scale)) calc(var(--background-img-origin-height) * var(--background-img-scale));
  background-position: top;
  background-repeat: no-repeat; /* Prevents the image from repeating */
  background-origin: content-box; /* Optionally controls where the image is drawn */
  position: relative;
  padding-bottom: 9rem;
  background-position-x: calc(50vw - var(--background-img-origin-width) * var(--background-img-scale) / 2 + var(--background-img-horiz-offset));
}
body.portfolio #sydney-box .use-font-symbol {
  vertical-align: middle;
}
body.portfolio #sydney-box .sydney-chunk {
  grid-column: 9/span 3;
  position: relative;
  align-self: end;
  width: 100%;
  padding-top: 32rem;
}
body.portfolio .chunk {
  width: 100%;
}
body.portfolio .chunk .use-font-symbol {
  vertical-align: middle;
  font-size: 2rem;
}
body.portfolio .hidden-text-container {
  overflow: hidden;
  width: 100%;
}
body.portfolio .hidden-arrow-text {
  white-space: nowrap; /* Prevents text from wrapping */
  -webkit-transition: margin-left 200ms ease-in-out, margin-right 200ms ease-in-out;
  -moz-transition: margin-left 200ms ease-in-out, margin-right 200ms ease-in-out;
  -o-transition: margin-left 200ms ease-in-out, margin-right 200ms ease-in-out;
  -ms-transition: margin-left 200ms ease-in-out, margin-right 200ms ease-in-out;
  transition: margin-left 200ms ease-in-out, margin-right 200ms ease-in-out;
}
body.portfolio .chunk:hover .hidden-arrow-text {
  margin-left: 0;
}
body.portfolio a:hover {
  opacity: 100%;
}
body.portfolio #booth-photos-container {
  grid-column: 1/-1;
  width: 100%;
  overflow-x: scroll;
  padding-top: 3rem;
}
body.portfolio #booth-photos-container #booth-photos {
  display: inline-grid;
  grid-template-columns: repeat(10, 282px);
  grid-column-gap: 1.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid black; /* Top border */
  border-bottom: 1px solid black; /* Bottom border */
  box-sizing: border-box; /* Includes padding in total width and height */
}
body.portfolio #booth-photos-container #booth-photos img {
  width: 100%;
  mix-blend-mode: multiply;
  opacity: 90%;
}
body.portfolio #booth-photos-container #booth-photos {
  transform: translateX(100vw); /* Start 400px to the right */
  transition: transform 1s cubic-bezier(0, 0.76, 0.72, 1.34);
  animation: none;
}
body.portfolio #booth-photos-container.is-on-screen #booth-photos {
  transform: translateX(0);
}
body.portfolio #sydney-ripple {
  left: calc(50% - 69.5px);
  top: 588.5px;
  --ripple-base-scale: 1.5;
}
body.portfolio #san-francisco-ripple {
  left: calc(50% + 351.5px);
  top: 197.5px;
}
body.portfolio .ripple-container {
  margin: var(--ripple-radius);
  transform: translate(calc(-1 * var(--ripple-radius) - 50%), calc(-1 * var(--ripple-radius) - 50%)) scale(calc(var(--ripple-base-scale) * var(--ripple-scale-modifier)));
  text-align: center;
  position: absolute;
  mix-blend-mode: color-burn;
}
body.portfolio .ripple-dot {
  margin: 0 auto;
  height: 10px;
  position: relative;
  width: 10px;
  border-radius: 100%;
  /* Oval: */
  background-image: linear-gradient(-180deg, #353535 0%, #353535 100%);
  transition: transform 200ms ease-out;
}
body.portfolio .ripple-dot:before {
  content: "";
  animation: ripple 4s infinite;
  animation-timing-function: ease-out;
  height: 1000%;
  width: 1000%;
  position: absolute;
  top: calc(-1 * var(--ripple-radius) * 0.9);
  left: calc(-1 * var(--ripple-radius) * 0.9);
  display: block;
  box-sizing: border-box;
  border-radius: 100%;
  box-shadow: 0 0 3px 3px #353535;
}
body.portfolio .ripple-dot:after {
  content: "";
  animation: ripple-delayed 4s infinite;
  animation-timing-function: ease-out;
  height: 1000%;
  width: 1000%;
  position: absolute;
  top: calc(-1 * var(--ripple-radius) * 0.9);
  left: calc(-1 * var(--ripple-radius) * 0.9);
  display: block;
  box-sizing: border-box;
  border-radius: 100%;
  box-shadow: 0 0 3px 3px #353535;
}
@keyframes ripple {
  0% {
    transform: scale(0.1);
    opacity: 0;
  }
  2.5% {
    opacity: 0.6;
  }
  50% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(0.8);
    opacity: 0;
  }
}
@keyframes ripple-delayed {
  0% {
    transform: scale(0.1);
    opacity: 0;
  }
  6% {
    opacity: 0.6;
    transform: scale(0.1);
  }
  100% {
    transform: scale(0.8);
    opacity: 0;
  }
}
body.portfolio .animated-chunk-line {
  --underline-color: $charcoal;
  background: linear-gradient(#353535, #353535), linear-gradient(#353535, #353535);
  --line-width: 1px;
  background-position: 0 calc(100% - var(--line-width)), 0 0;
  background-repeat: no-repeat;
  background-size: 100% var(--line-width), 100% var(--line-width);
}
body.portfolio .animated-chunk-line:hover {
  animation: animated_chunkline_keyframes 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: linear-gradient(#111111, #111111), linear-gradient(#111111, #111111);
  background-position: 0 calc(100% - 0.07em), 0 0;
  background-repeat: no-repeat;
  background-size: 100% 0.07em, 100% 0.07em;
}
@keyframes animated_chunkline_keyframes {
  0% {
    background-position-x: 100%, 100%;
    background-size: 100% 0.07em, 100% 0.07em;
  }
  50% {
    background-position-x: 100%, 100%;
    background-size: 0 0.07em, 0 0.07em;
  }
  51% {
    background-position-x: 0, 0;
    background-size: 0 0.07em, 0 0.07em;
  }
  to {
    background-position-x: 0, 0;
    background-size: 100% 0.07em, 100% 0.07em;
  }
}
body.portfolio #visa-box .visa-cubes-sticker {
  position: relative;
  grid-column: 1/span 1;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  z-index: 1;
}
body.portfolio #visa-box .visa-cubes-sticker img {
  position: absolute;
  width: 154px;
  height: 154px;
  top: 0;
  left: calc(624px - 59vh);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

body.portfolio #grow-box .demo-img,
body.grow .demo-img {
  background-blend-mode: soft-light;
}

body.portfolio #along-box .demo-img,
body.along .demo-img {
  background-image: url(../../shared/assets/along/macbook_along.png);
  background-blend-mode: color-burn;
}

body {
  /* Home  */
  /* Home positioning  */
}
body #overlay-content-box {
  mix-blend-mode: multiply;
  pointer-events: none;
  max-height: 100%;
  height: 100%;
  grid-template-rows: 3rem calc(25% - 3rem) 25% 4.5rem 1fr calc(25% - 3rem) 3rem;
  grid-auto-flow: dense;
  position: fixed;
  z-index: 1;
  padding: 0;
}
body .overlay-navigation-container {
  pointer-events: auto;
  grid-row: 1;
  display: grid;
  grid-template-columns: auto auto; /* Each column adapts to content size */
  justify-content: space-between; /* Equal space between grid items */
  align-items: stretch; /* Ensures items stretch vertically */
}
body .overlay-navigation-container h6 {
  font-variant: unset;
  font-weight: 400;
  text-transform: capitalize;
  letter-spacing: normal;
}
body .overlay-navigation-container-left,
body .overlay-navigation-container-right {
  padding-top: 24px;
}
body .overlay-navigation-container-left {
  grid-column-start: 1;
  grid-column-end: span 4;
  padding-left: 32px;
}
body .overlay-navigation-container-right {
  grid-column-start: -5;
  grid-column-end: span 4;
  justify-self: end;
  justify-content: end;
  padding-right: 32px;
}
body .asterisk-root-element {
  grid-column: 7/span 2;
  grid-row: 1;
  align-self: start;
  justify-self: center;
  /* margin-bottom: -5.5rem; */
  margin-left: 1px;
  /* This value needs to match the initial value in js for now */
  /* transform: translateY(calc(68px + 50vh)); */
}

body.portfolio #contact-box {
  --vertical-padding: 9rem;
  padding-top: var(--vertical-padding);
  grid-auto-flow: dense;
  align-content: end;
  background-color: #353535;
  min-height: 0;
}
body.portfolio #contact-box #contact-better,
body.portfolio #contact-box #contact-together {
  align-self: end;
  height: var(--vertical-padding);
  align-content: end;
}
body.portfolio #contact-box #contact-together {
  grid-column: 9/-1;
  align-self: end;
  justify-self: end;
  padding-right: 36px;
}
body.portfolio #contact-box #contact-better {
  grid-column: 1/span 6;
  align-self: end;
  justify-self: start;
  padding-left: 36px;
}
body.portfolio #contact-box h1 {
  color: black;
}
body.portfolio #contact-box h2,
body.portfolio #contact-box h3,
body.portfolio #contact-box h4,
body.portfolio #contact-box h5,
body.portfolio #contact-box h6,
body.portfolio #contact-box p {
  color: #fffaee;
}
body.portfolio #contact-box #contact-img {
  grid-column: 4/span 3;
}
body.portfolio #contact-box .contact-links {
  grid-column: 9/span 3;
}
body.portfolio #contact-box .contact-links .animated-chunk-line {
  background-image: linear-gradient(#fffaee, #fffaee), linear-gradient(#fffaee, #fffaee);
}

@media only screen and (max-width: 600px) {
  h1 {
    font-size: 3rem;
    line-height: 3.5rem;
  }
  h2 {
    font-size: 2rem;
    line-height: 2.5rem;
  }
  h3 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
  body.portfolio .content-box,
  body.case_study .content-box {
    min-height: 0;
  }
  #overlay-content-box .overlay-navigation-container {
    padding-right: 0;
    padding-left: 0;
  }
  #overlay-content-box .overlay-navigation-container-left {
    grid-column-start: 2;
    grid-column-end: span 4;
  }
  #overlay-content-box .overlay-navigation-container-right {
    grid-column-start: -6;
    grid-column-end: span 4;
  }
  .pc-demo .demo-img {
    /* background-image: url("../assets/iphone_white_screen.png"); */
    background-image: url("../assets/macbook-mobile.png");
  }
  body.portfolio .pc-demo.pc-demo-center > .demo-container,
  body.portfolio .pc-demo.pc-demo-center > .demo-img,
  body.portfolio .pc-demo.right > .demo-container,
  body.portfolio .pc-demo.right > .demo-img,
  body.portfolio .pc-demo.left > .demo-container,
  body.portfolio .pc-demo.left > .demo-img,
  body.case-study .pc-demo.pc-demo-center > .demo-container,
  body.case-study .pc-demo.pc-demo-center > .demo-img,
  body.case-study .pc-demo.right > .demo-container,
  body.case-study .pc-demo.right > .demo-img,
  body.case-study .pc-demo.left > .demo-container,
  body.case-study .pc-demo.left > .demo-img {
    /* Content height of macbook is 0.57777777777 of its width */
    width: 114%;
    height: auto;
    grid-column: var(--grid-columns-full-bleed);
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
    margin-right: 0;
  }
  body.portfolio .pc-demo.pc-demo-center > .demo-container > img,
  body.portfolio .pc-demo.pc-demo-center > .demo-img,
  body.portfolio .pc-demo.right > .demo-container > img,
  body.portfolio .pc-demo.right > .demo-img,
  body.portfolio .pc-demo.left > .demo-container > img,
  body.portfolio .pc-demo.left > .demo-img,
  body.case-study .pc-demo.pc-demo-center > .demo-container > img,
  body.case-study .pc-demo.pc-demo-center > .demo-img,
  body.case-study .pc-demo.right > .demo-container > img,
  body.case-study .pc-demo.right > .demo-img,
  body.case-study .pc-demo.left > .demo-container > img,
  body.case-study .pc-demo.left > .demo-img {
    margin-bottom: -56.2%;
  }
  body.portfolio .pc-demo.right .demo-container,
  body.portfolio .pc-demo.right .demo-img,
  body.case-study .pc-demo.right .demo-container,
  body.case-study .pc-demo.right .demo-img {
    justify-self: right;
  }
  body.portfolio .pc-demo.left .demo-container,
  body.portfolio .pc-demo.left .demo-img,
  body.case-study .pc-demo.left .demo-container,
  body.case-study .pc-demo.left .demo-img {
    justify-self: left;
  }
  body.portfolio .mobile-demo.phone-right .demo-img,
  body.portfolio .mobile-demo.phone-center .demo-container,
  body.portfolio .mobile-demo.phone-left .demo-img,
  body.case-study .mobile-demo.phone-right .demo-img,
  body.case-study .mobile-demo.phone-center .demo-container,
  body.case-study .mobile-demo.phone-left .demo-img {
    margin-left: 0px;
    margin-right: 0px;
    justify-self: center;
    height: auto;
    width: 100%;
    margin-bottom: -20%;
  }
  body.portfolio .mobile-demo.phone-right .demo-img img,
  body.portfolio .mobile-demo.phone-center .demo-container img,
  body.portfolio .mobile-demo.phone-left .demo-img img,
  body.case-study .mobile-demo.phone-right .demo-img img,
  body.case-study .mobile-demo.phone-center .demo-container img,
  body.case-study .mobile-demo.phone-left .demo-img img {
    width: 100%;
    height: auto;
  }
  body.portfolio .mobile-demo.phone-left .demo-img,
  body.portfolio .mobile-demo.phone-left .demo-container,
  body.portfolio .mobile-demo.phone-center .demo-img,
  body.portfolio .mobile-demo.phone-center .demo-container,
  body.portfolio .mobile-demo.phone-right .demo-img,
  body.portfolio .mobile-demo.phone-right .demo-container,
  body.case-study .mobile-demo.phone-left .demo-img,
  body.case-study .mobile-demo.phone-left .demo-container,
  body.case-study .mobile-demo.phone-center .demo-img,
  body.case-study .mobile-demo.phone-center .demo-container,
  body.case-study .mobile-demo.phone-right .demo-img,
  body.case-study .mobile-demo.phone-right .demo-container {
    grid-column: 4/-4;
    grid-row-start: 1;
    grid-row-end: span 1;
  }
  .banner-container .banner-content {
    display: inline;
  }
  .banner-container .banner-content > *:not(:first-child) {
    padding-left: 0rem;
  }
  .banner-container .banner-content .symbol-arrow {
    display: none;
  }
}
@media only screen and (max-width: 600px) {
  body.portfolio {
    --content-box-vertical-padding: 14rem;
    --content-box-vertical-forgiveness: 9rem;
    --subtext-vertical-padding: 8rem;
  }
  body.portfolio .content-box.pc-demo,
  body.portfolio .content-box.mobile-demo,
  body.portfolio #sydney-box {
    padding-top: calc(var(--content-box-vertical-padding) + var(--content-box-vertical-forgiveness));
    padding-bottom: calc(var(--content-box-vertical-forgiveness));
    margin-top: calc(var(--content-box-vertical-forgiveness) * -1);
    margin-bottom: calc(var(--content-box-vertical-forgiveness) * -1);
  }
  body.portfolio .content-box.pc-demo#grindr-box,
  body.portfolio .content-box.mobile-demo#grindr-box,
  body.portfolio #sydney-box#grindr-box {
    padding-bottom: calc(var(--content-box-vertical-padding) + var(--content-box-vertical-forgiveness));
  }
  body.portfolio .content-box,
  body.portfolio .content-box.pc-demo,
  body.portfolio .content-box.mobile-demo {
    height: auto;
  }
  body.portfolio .chunk.on-left,
  body.portfolio .phone-right .chunk,
  body.portfolio .pc-demo.right .chunk,
  body.portfolio .phone-left .chunk,
  body.portfolio .pc-demo.left .chunk {
    grid-column: var(--grid-columns-full-interior);
    margin-top: 3.5em;
    margin-bottom: 0rem;
  }
  body.portfolio #overlay-content-box .asterisk-root-element {
    --initial-translate-y: 22.5rem;
  }
  body.portfolio #home-content-box {
    grid-template-rows: 3rem 0px auto 0 0 auto auto;
    min-height: 0;
    height: auto;
    padding-bottom: 6rem;
    margin-bottom: -6rem;
  }
  body.portfolio #home-content-box #subtext-container {
    margin-bottom: 0 !important;
    padding-top: var(--subtext-vertical-padding);
    padding-bottom: var(--subtext-vertical-padding);
  }
  body.portfolio #home-content-box #subtext-container {
    grid-column: var(--grid-columns-full-interior) !important;
    text-align: left;
  }
  body.portfolio #home-content-box #subtext-container .home-subtext {
    --subtext-font-size: 18.2vw;
    padding: 0 !important;
    line-height: 0.75;
  }
  body.portfolio #home-content-box #home-love-o {
    visibility: visible !important;
  }
  body.portfolio #home-content-box #home-with {
    font-size: 10vw !important;
  }
  body.portfolio #home-content-box #home-built,
  body.portfolio #home-content-box #contact-better {
    padding-bottom: 12vw;
  }
  body.portfolio #home-content-box #home-built-arrow {
    display: none;
    min-height: 6rem;
    margin-bottom: 0rem;
    margin-top: 3rem;
  }
  body.portfolio #home-content-box #home-built-arrow.start_animation {
    margin-top: 5rem;
    margin-bottom: 0rem;
  }
  body.portfolio #home-content-box #home-purpose h1,
  body.portfolio #home-content-box #home-built h1 {
    font-size: 12vw;
  }
  body.portfolio #highlights {
    padding-top: var(--subtext-vertical-padding);
  }
  body.portfolio #highlights > div {
    text-align: start !important;
  }
  body.portfolio #highlights > div:not(#password-content-box) {
    text-align: start !important;
    grid-column: var(--grid-columns-full-interior) !important;
  }
  body.portfolio #highlights h2 img {
    height: 2em !important;
  }
  body.portfolio #visa-box .visa-cubes-sticker img {
    width: 77px;
    height: 77px;
    top: 2vw;
    left: 27vw;
  }
  body.portfolio #password-content-box > div {
    margin-left: 0 !important;
    margin-right: 0 !important;
    grid-column: var(--grid-columns-full-interior) !important;
  }
  body.portfolio #password-content-box #password-form input,
  body.portfolio #password-content-box #password-form input::placeholder {
    font-size: 20vw;
  }
  body.portfolio #password-content-box #password-form button {
    padding-left: 2vw;
  }
  body.portfolio #password-content-box #password-form button .use-font-symbol {
    font-size: 10vw !important;
  }
  body.portfolio #password-content-box #password-form button > :not(:first-child) {
    padding-left: 2vw;
  }
  body.portfolio #sydney-box {
    --background-img-scale: 0.25;
    --background-img-horiz-offset: 30px;
  }
  body.portfolio #sydney-box .sydney-chunk {
    grid-column: var(--grid-columns-full-interior);
    padding-top: 20rem;
  }
  body.portfolio #sydney-box .ripple-container {
    --ripple-scale-modifier: 1;
  }
  body.portfolio #sydney-box #sydney-ripple {
    left: calc(50% - 80px);
    top: 662.5px;
  }
  body.portfolio #sydney-box #san-francisco-ripple {
    left: calc(50% + 132px);
    top: 467px;
  }
  body.portfolio #contact-box {
    --vertical-padding: 6rem;
    padding-bottom: 1rem;
  }
  body.portfolio #contact-box > div {
    grid-column: var(--grid-columns-full-interior) !important;
  }
  body.portfolio #contact-box #contact-better,
  body.portfolio #contact-box #contact-together {
    grid-column: var(--grid-columns-full-bleed) !important;
    padding: 0;
    height: auto;
  }
  body.portfolio #contact-box #contact-better h1,
  body.portfolio #contact-box #contact-together h1 {
    font-size: 18vw;
  }
  body.portfolio #contact-box #contact-better {
    padding-top: var(--vertical-padding);
    padding-bottom: 1rem;
  }
  body.portfolio #contact-box #contact-img {
    padding: 0 !important;
    margin: 0 !important;
  }
  body.portfolio #contact-box h1 {
    text-align: center;
  }
  body.portfolio #contact-box .contact-links {
    padding: 2rem 0 1.5rem 0;
  }
  body.portfolio #contact-box .spacing-element {
    display: none;
  }
  body.portfolio .pc-demo.right .demo-container,
  body.portfolio .pc-demo.right .demo-img,
  body.portfolio .pc-demo.left .demo-container,
  body.portfolio .pc-demo.left .demo-img {
    /* Content height of macbook is 0.57777777777 of its width */
    width: 114%;
    height: auto;
    grid-column: var(--grid-columns-full-bleed);
    /* Vertical compensations for image filling more space than 'true content' */
    margin-bottom: -56.2%;
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
  }
  body.portfolio .pc-demo.right .demo-container,
  body.portfolio .pc-demo.right .demo-img {
    justify-self: left;
  }
  body.portfolio .pc-demo.left .demo-container,
  body.portfolio .pc-demo.left .demo-img {
    justify-self: right;
  }
  body.portfolio .mobile-demo.phone-right .demo-img,
  body.portfolio .mobile-demo.phone-left .demo-img {
    margin-bottom: -17%;
  }
}
@media only screen and (max-width: 600px) {
  body.case-study .content-box {
    overflow-x: clip !important;
  }
  body.case-study .case-study-article-title {
    padding-top: 8rem;
  }
  body.case-study .pc-demo.pc-demo-center .demo-container {
    grid-column: 3/-3;
  }
  body.case-study .pc-demo.pc-demo-center .demo-container img {
    margin-bottom: -68%;
  }
  body.case-study .case-study-article-title {
    grid-column: var(--grid-columns-full-interior);
  }
  body.case-study .content-box.brief-content-box .case-study-brief .brief-title {
    grid-column: var(--grid-columns-full-interior);
  }
  body.case-study .content-box.brief-content-box .case-study-brief .brief-detail {
    padding-top: 3rem;
  }
  body.case-study .content-box.brief-content-box .case-study-brief .brief-detail.brief-detail-first-column {
    grid-column: 2/span 6;
  }
  body.case-study .content-box.brief-content-box .case-study-brief .brief-detail.brief-detail-second-column {
    grid-column: 9/span 5;
  }
  body.case-study .content-box.brief-content-box .case-study-brief .brief-detail-company {
    grid-column: var(--grid-columns-full-interior);
    margin-top: 0;
  }
  body.case-study .content-box .text-block > div {
    grid-column: var(--grid-columns-full-interior);
  }
  body.case-study .content-box .text-block > .in-article-img {
    grid-column: var(--grid-columns-full-bleed);
  }
  body.case-study .content-box .text-block > .text-block-content > .text-block-picture-two-item-bleed {
    margin-left: -32px;
  }
  body.case-study .content-box .text-block > .text-block-content > .text-block-picture-two-item-bleed div {
    display: none;
  }
  body.case-study .content-box .text-block > .text-block-picture-four-item-bleed div {
    display: none;
  }
  body.case-study .content-box .text-block > .image-row,
  body.case-study .content-box .text-block > .image-pair-container,
  body.case-study .content-box .text-block > .text-block-content > .text-block-picture-two-item-bleed,
  body.case-study .content-box .text-block > .text-block-picture-four-item-grid,
  body.case-study .content-box .text-block > .text-block-picture-four-item-curve,
  body.case-study .content-box .text-block > .text-block-picture-four-item-bleed {
    display: flex;
    overflow: scroll;
    grid-column: var(--grid-columns-full-bleed);
    padding-left: 32px;
    padding-right: 32px;
    justify-content: start;
    -ms-overflow-style: none; /* Hide scrollbar in Internet Explorer */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
  }
  body.case-study .content-box .text-block > .image-row::-webkit-scrollbar,
  body.case-study .content-box .text-block > .image-pair-container::-webkit-scrollbar,
  body.case-study .content-box .text-block > .text-block-content > .text-block-picture-two-item-bleed::-webkit-scrollbar,
  body.case-study .content-box .text-block > .text-block-picture-four-item-grid::-webkit-scrollbar,
  body.case-study .content-box .text-block > .text-block-picture-four-item-curve::-webkit-scrollbar,
  body.case-study .content-box .text-block > .text-block-picture-four-item-bleed::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Chrome, Safari, and Edge */
  }
  body.case-study .content-box .text-block > .image-row:not(.text-block-picture-two-item-bleed),
  body.case-study .content-box .text-block > .image-pair-container:not(.text-block-picture-two-item-bleed),
  body.case-study .content-box .text-block > .text-block-content > .text-block-picture-two-item-bleed:not(.text-block-picture-two-item-bleed),
  body.case-study .content-box .text-block > .text-block-picture-four-item-grid:not(.text-block-picture-two-item-bleed),
  body.case-study .content-box .text-block > .text-block-picture-four-item-curve:not(.text-block-picture-two-item-bleed),
  body.case-study .content-box .text-block > .text-block-picture-four-item-bleed:not(.text-block-picture-two-item-bleed) {
    width: auto;
  }
  body.case-study .content-box .text-block > .image-row > img,
  body.case-study .content-box .text-block > .image-pair-container > img,
  body.case-study .content-box .text-block > .text-block-content > .text-block-picture-two-item-bleed > img,
  body.case-study .content-box .text-block > .text-block-picture-four-item-grid > img,
  body.case-study .content-box .text-block > .text-block-picture-four-item-curve > img,
  body.case-study .content-box .text-block > .text-block-picture-four-item-bleed > img {
    width: auto;
    height: auto;
    max-height: 30rem;
    max-width: 75dvw;
    margin: 0;
  }
  body.case-study .content-box .text-block .text-block-data {
    display: flex;
    column-gap: 24px;
    row-gap: 0;
  }
  body.case-study .content-box .text-block .text-block-data p nobr {
    white-space: normal;
  }
  body.case-study .content-box .text-block .text-block-data > div {
    flex: 1;
  }
  body.case-study .content-box .text-block .text-block-data.text-block-data-two-columns {
    flex-wrap: wrap;
  }
  body.case-study .content-box .text-block .text-block-data.text-block-data-two-columns > div {
    flex: 1 1 40%;
  }
  body.case-study.along .sun-face-container {
    bottom: -8rem;
  }
}
/* Apply custom cursor globally */
.inner-cursor,
.outer-cursor {
  position: fixed;
  border-radius: 50%; /* Make it a circle */
  pointer-events: none;
  transform: translate(-50%, -50%); /* Center the cursor */
  mix-blend-mode: color-burn; /* Apply the multiply blend mode */
}

.inner-cursor {
  width: 0.75rem;
  height: 0.75rem;
  background-color: #181818; /* Custom cursor color */
}

.outer-cursor {
  width: 3rem;
  height: 3rem;
  background-color: #b2b2b2; /* Custom cursor color */
  transition: width 0.5s ease, height 0.5s ease, background-color 0.5s ease;
}
.outer-cursor.hovering-clickable {
  background-color: #7a7a7a;
  width: 6rem;
  height: 6rem;
}

#cursor-trail {
  position: absolute;
  pointer-events: none;
  width: 50px;
  visibility: hidden;
}

.sticker-container {
  position: relative;
  pointer-events: none;
  user-select: none; /* Standard syntax */
  -webkit-user-select: none; /* Chrome, Safari, and Opera */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
}
.sticker-container video,
.sticker-container img,
.sticker-container svg {
  position: absolute;
  height: var(--height);
}
@media only screen and (max-width: 600px) {
  .sticker-container video,
  .sticker-container img,
  .sticker-container svg {
    height: calc(var(--height) * 0.6);
  }
}

body.portfolio .grow-animated-sticker {
  grid-column: 1/span 1;
  grid-row: 1;
  justify-self: end;
  align-self: center;
}
body.portfolio .grow-animated-sticker video {
  --height: 48px;
  top: 23.9vh;
  left: calc(624px + 9.5vh);
  transform: translate(-50%, -50%);
}
@media only screen and (max-width: 600px) {
  body.portfolio .grow-animated-sticker video {
    left: 14vw;
    top: 18vw;
  }
}

body.case-study .grow-animated-sticker {
  grid-column: 1/span 1;
  grid-row: 1;
  justify-self: end;
  align-self: center;
}
body.case-study .grow-animated-sticker video {
  --height: 48px;
  top: 256px;
  left: 306px;
  transform: translate(-50%, -50%);
}
@media only screen and (max-width: 600px) {
  body.case-study .grow-animated-sticker video {
    left: 9vw;
    top: 37vw;
  }
}

body.portfolio .grow-crown-sticker {
  grid-column: 1/span 1;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}
@media only screen and (max-width: 600px) {
  body.portfolio .grow-crown-sticker {
    display: none;
  }
}
body.portfolio .grow-crown-sticker img {
  --height: calc(192px / 2);
  top: -32px;
  left: 64px;
  transform: translate(-50%, -50%);
}
body.portfolio .grow-chairs-sticker {
  grid-column: 1/span 1;
  grid-row: 1;
  justify-self: end;
  align-self: end;
}
@media only screen and (max-width: 600px) {
  body.portfolio .grow-chairs-sticker {
    grid-column: -1/span 1;
    align-self: start;
  }
}
body.portfolio .grow-chairs-sticker img {
  top: 178px;
  left: 112px;
  --height: calc(192px / 2);
  transform: translate(-50%, -50%);
}
@media only screen and (max-width: 600px) {
  body.portfolio .grow-chairs-sticker img {
    top: -3rem;
    left: -5rem;
  }
}

.along-ping-face-sticker {
  z-index: 1;
}
body.portfolio .along-ping-face-sticker {
  grid-column: 1/span 1;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}
body.portfolio .along-ping-face-sticker img {
  top: -176px;
  left: 982px;
  --height: calc(151px / 2);
  transform: translate(-50%, -50%);
}
@media only screen and (max-width: 600px) {
  body.portfolio .along-ping-face-sticker img {
    top: -12px;
    left: 0px;
  }
}

.along-orange-sticker {
  z-index: 1;
}
body.portfolio .along-orange-sticker {
  display: none;
}
@media only screen and (max-width: 600px) {
  body.portfolio .along-orange-sticker {
    display: unset;
    position: relative;
    grid-column: 1/span 1;
    grid-row: 1;
    justify-self: end;
    align-self: start;
  }
  body.portfolio .along-orange-sticker img {
    --height: 56px;
    transform: translate(-50%, -50%);
    left: 84.5vw;
    top: 48vw;
  }
}

body.case-study .along-orange-sticker {
  position: relative;
  grid-column: 1/span 1;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}
body.case-study .along-orange-sticker img {
  --height: 56px;
  position: absolute;
  top: 478px;
  left: 1060px;
  transform: translate(-50%, -50%);
}
@media only screen and (max-width: 600px) {
  body.case-study .along-orange-sticker img {
    left: 87vw;
    top: 60vw;
  }
}

body.case-study .along-hand-sticker {
  position: relative;
  grid-column: 1/span 1;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}
body.case-study .along-hand-sticker img {
  --height: 56px;
  position: absolute;
  top: 68px;
  left: 182px;
  transform: translate(-50%, -50%);
}
@media only screen and (max-width: 600px) {
  body.case-study .along-hand-sticker img {
    left: -2.5vw;
    top: 17vw;
  }
}

@media only screen and (max-width: 600px) {
  body.case-study .along-semicircle-sticker {
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  body.case-study .along-side-cut-left-sticker {
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  body.case-study .along-side-cut-right-sticker {
    display: none;
  }
}

@media only screen and (max-width: 600px) {
  body.case-study .along-squack-sticker {
    display: none;
  }
}

body.case-study .content-box .text-block .along-paper-plane-sticker {
  grid-column: -4/span 1;
  justify-self: start;
  align-self: end;
}
@media only screen and (max-width: 600px) {
  body.case-study .content-box .text-block .along-paper-plane-sticker {
    grid-column: 1/span 1;
    justify-self: start;
    align-self: start;
  }
}
body.case-study .content-box .text-block .along-paper-plane-sticker img {
  --height: 18rem;
  width: auto;
  transform: translate(-100%, -100%);
  pointer-events: none;
}
@media only screen and (max-width: 600px) {
  body.case-study .content-box .text-block .along-paper-plane-sticker img {
    --height: 57vw;
    width: auto;
    top: -3.2rem;
    left: 100vw;
  }
}

body.portfolio .lettuce-server-sticker {
  grid-column: 1/span 1;
  grid-row: 1;
  justify-self: end;
  align-self: start;
}
body.portfolio .lettuce-server-sticker svg {
  --height: 188px;
  top: 0px;
  left: 24px;
  transform: translate(0, -50%);
  pointer-events: none;
  mix-blend-mode: color-burn;
}
@media only screen and (max-width: 600px) {
  body.portfolio .lettuce-server-sticker svg {
    top: -64px;
    left: 0px;
  }
}

body.portfolio .lettuce-stars-texture {
  grid-column: -2/span 1;
  grid-row: 1;
  justify-self: start;
  align-self: end;
  --height: 500px;
}
body.portfolio .lettuce-stars-texture svg {
  top: 92px;
  left: 32px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  mix-blend-mode: color-burn;
}
@media only screen and (max-width: 600px) {
  body.portfolio .lettuce-stars-texture svg {
    top: -10px;
    left: -32px;
  }
}

input {
  padding: 0;
}

.calendly-overlay .calendly-popup {
  max-height: 690px;
}

.hide-until-loaded {
  opacity: 0;
}
.hide-until-loaded.hide-until-loaded-pending {
  visibility: hidden;
}
.hide-until-loaded.hide-until-loaded-done {
  opacity: 1;
  transition: opacity 0.3s ease-in, visibility 0s linear 0s; /* Define fade-in transition */
}

.content-box > * {
  position: relative;
}

#content {
  margin: 0;
  padding: 0;
  border: 0;
  display: contents;
}

/*# sourceMappingURL=index.css.map */
