/* Base */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  font-family: sans-serif;
}

h1, h2, h3, h4, h5, h6, p, blockquote, pre {
  font-size: 100%;
  font-weight: normal;
  margin: 0;
}

body {
  min-height: 100%;
  margin: 0;
  background-color: #07070d;
  font-size: 14px;
  line-height: 20px;
}

.svg {
  width: 100%;
}

picture {
  display: block;
  width: 100%;
}

picture img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

:root {
  --header-offset: 52px;
}

.site-header-slot {
  min-height: var(--header-offset);
}

svg:not(:root) {
  overflow: hidden;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

img {
  vertical-align: middle;
  max-width: 100%;
  display: inline-block;
}

.case-svg {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Page transitions / reveal */

html.reveal-prep [data-reveal="media"],
html.reveal-prep [data-reveal="text"],
html.reveal-prep [data-reveal="footer"] .footer-reveal {
  opacity: 0;
  transform: translateY(10px);
}

html.reveal-prep [data-static-ui] {
  opacity: 1 !important;
  transform: none !important;
}

html.is-animating-in [data-reveal="media"],
html.is-animating-in [data-reveal="text"],
html.is-animating-in [data-reveal="footer"] .footer-reveal,
html.is-animating-out [data-reveal="media"],
html.is-animating-out [data-reveal="text"],
html.is-animating-out [data-reveal="footer"] .footer-reveal {
  will-change: opacity, transform;
}

[data-reveal="media"],
[data-reveal="text"],
[data-reveal="footer"] .footer-reveal {
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

[data-reveal="media"].is-hidden {
  opacity: 0;
  transform: translateY(10px);
}

[data-reveal="text"].is-hidden {
  opacity: 0;
  transform: translateY(12px);
}

[data-reveal="footer"] .footer-reveal.is-hidden {
  opacity: 0;
  transform: translateY(8px);
}

[data-static-ui] {
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Feed anti-flicker */

@media (min-width: 767px) {
  .feed-slide:not(.feed-ready) .feed-text-content,
  .feed-slide:not(.feed-ready) .slider-button.right,
  .feed-slide:not(.feed-ready) .slider-button.left {
    opacity: 0;
  }

  .feed-slide.feed-ready .feed-text-content,
  .feed-slide.feed-ready .slider-button.right,
  .feed-slide.feed-ready .slider-button.left {
    opacity: 1;
    transition: opacity 0.18s ease;
  }
}

/* Link Hover */

.cursor-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
  mix-blend-mode: difference;
  display: none;
  visibility: hidden;
  opacity: 0;
}

.cursor-overlay__box {
  position: absolute;
  width: 30px;
  height: 30px;
  border: 1px solid #fff;
  transform: translate(-50%, -50%);
  will-change: width, height, transform;
}

.cursor-overlay__coords {
  position: absolute;
  color: #fff;
  font-family: Special Gothic Semi Condensed, Arial, sans-serif;
  font-size: .7em;
  line-height: 1;
  white-space: nowrap;
  will-change: transform;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/*Footer*/

footer {
  margin-top: 64px;
}

.footer-wrapper {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background-color: #d1d3df;
}

.site-footer__block {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.site-footer__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-left: 20px;
  padding-right: 20px;
  margin-bottom: 64px;
}

.site-footer__meta {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.site-footer__links {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-left: -24px;
}

.site-footer__block--update {
  align-items: flex-end;
  text-align: right;
}

.site-footer__stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-left: 85px;
  min-width: 150px;
}

.site-footer__bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 20px;
  padding-left: 20px;
  padding-right: 20px;
}

.site-footer__block--update-mobile {
  display: none;
}

.site-footer__block--update-desktop {
  display: flex;
}

/* tablet */

@media only screen and (max-width: 980px) and (min-width: 767px) {
  .site-footer__content {
    display: flex;
    justify-content: space-between;
  }

  .site-footer__links {
    width: 70%;
  }
}


/* mobile */
@media screen and (max-width: 767px) {
  .site-footer__content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .site-footer__block--update {
    align-items: flex-start;
    text-align: left;
  }

  .site-footer__links {
    display: flex;
    flex-direction: column;
    margin-left: 0px;
  }

  .site-footer__stack {
    margin-left: 0px;
  }

  .site-footer__block--update-mobile {
    display: flex;
  }

  .site-footer__block--update-desktop {
    display: none;
  }

  .site-footer__block {
    min-width: 90px;
  }
}

.footer-slot {
  position: fixed;
  inset: auto 16px 16px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
}

.footer-lettering {
  z-index: 5;
  pointer-events: none;
  display: block;
  width: calc(100% - 2vw);
  max-width: calc(100% - 2vw);
  height: auto;
  margin-bottom: -2.15%;
  margin-left: 1vw;
  margin-right: 1vw;
  position: relative;
}

/* Mobile Burger Menu */

.mobile-nav-overlay {
  z-index: 2000;
  background-color: #07070d;
  flex-flow: column;
  justify-content: center;
  align-items: stretch;
  display: none;
  position: fixed;
  inset: 0%;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-header {
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
}

.mobile-menu-footer-active {
  z-index: 2102;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  padding-right: 52px;
  bottom: 16px;
}

.mobile-menu-footer-active .footer-badge {
  background-color: #d1d3df;
}

.mobile-menu-footer-active .footer-badge .heading {
  color: #07070d;
}

.mobile-menu-footer-active .link-button.dark {
  color: #07070d;
  background-color: #d1d3df;
}

.mobile-menu-footer-active .link-button.dark:hover {
  color: #d1d3df;
  background-color: #07070d;
}

.mobile-nav-home-link.link-button {
  line-height: 20px;
}

.mobile-nav-close-x {
  cursor: pointer;
  background-color: #0000;
  border: 0;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  display: flex;
}

.mobile-nav-close-x-icon {
  transition: transform .2s;
  transform: rotate(0deg);
}

.mobile-nav-overlay.is-open .mobile-nav-close-x-icon {
  transform: rotate(45deg);
}

.mobile-nav-center {
  grid-column-gap: 20px;
  grid-row-gap: 80px;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  display: flex;
}

.mobile-nav-link {
  color: #d1d3df;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-family: Special Gothic Semi Condensed, Arial, sans-serif;
  font-size: 1em;
  line-height: .95;
  text-decoration: none;
}

.mobile-nav-link.is-active {
  color: #7a7f99;
}

/* Header */

.site-header {
  z-index: 1000;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  background-color: #07070d;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  display: grid;
  position: fixed;
  inset: 0% 0% auto;
}

.site-header__left {
  justify-content: flex-start;
  align-items: center;
  display: flex;
  padding-left: 20px;
}

.site-header__right {
  justify-content: flex-end;
  align-items: center;
  display: flex;
}

.site-header__nav {
  position: relative;
  justify-content: space-between;
  align-items: flex-start;
  margin-left: -24px;
  display: flex;
  gap: 24px;
  padding-right: 20px;
}

.icon-cross.nav-right {
  position: absolute;
  z-index: 9999;
  right: 0 ;
}

.icon-cross.nav-left {
  position: absolute;
  z-index: 9999;
  left: 16px ;
}

.site-header__link {
  color: #07070d;
  letter-spacing: .1em;
  text-transform: uppercase;
  background-color: #d1d3df;
  height: 20px;
  padding-left: 4px;
  padding-right: 2px;
  font-family: Special Gothic Semi Condensed, Arial, sans-serif;
  font-size: .9em;
  text-decoration: none;
  transition: background-color .2s, color .2s;
  z-index: 9999;
}

.site-header__menu-button {
  border: 0;
  display: none;
}

.footer-badge {
  background-color: #07070d;
  justify-content: center;
  align-items: center;
  height: 20px;
  padding-left: 4px;
  padding-right: 4px;
  text-decoration: none;
  display: flex;
}

@media (max-width: 768px) {

  .site-header__desktop {
    display: none;
  }

  .site-header__nav {
    margin-left: 0px;
  }

  .site-header { 
    display: flex;
  }

  .site-header__menu-button {
    display: block;
  }

}

/* Typography */

@font-face {
  font-family: Special Gothic Semi Condensed;
  src: url("../fonts/SpecialGothic_SemiCondensed-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Death Crow;
  src: url("../fonts/DEATHCROW.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Layout */

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell {
  flex: 1;
}

/* Components */

.project-thumbnail {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 350px;
  place-self: center;
}

.project-thumbnail .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-thumbnail .hidden {
  visibility: hidden;
}

.project-thumbnail img {
  pointer-events: none;
}

.icon-button {
  justify-content: flex-start;
  align-items: center;
  display: flex;
  position: relative;
}

.button-text {
  color: #07070d;
  text-align: center;
  letter-spacing: .1em;
  text-transform: uppercase;
  flex: none;
  margin-right: -2px;
  font-family: Special Gothic Semi Condensed, Arial, sans-serif;
  font-size: .9em;
  text-decoration: none;
}

.button-text.light {
  color: #d1d3df;
}

.icon-cross {
  mix-blend-mode: difference;
}

.page-shell {
  padding-top: 0;
}

.page-content {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  padding-left: 36px;
  padding-right: 36px;
}

.page-content._2-column {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  flex-flow: column;
  grid-template-rows: auto auto;
  position: relative;
}

.bodytext {
  color: #d1d3df;
  max-width: 456px;
  font-family: Special Gothic Semi Condensed, Arial, sans-serif;
  font-size: 1.2em;
  line-height: 130%;
  text-decoration: none;
}

.bodytext.secondary-color {
  color: #7a7f99;
}

.heading {
  color: #07070d;
  text-align: left;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-family: Special Gothic Semi Condensed, Arial, sans-serif;
  font-size: .9em;
  line-height: 140%;
  text-decoration: none;
}

.heading.primary-color {
  color: #d1d3df;
}

.heading.secondary-color {
  color: #7a7f99;
}

.text-link {
  color: #d1d3df;
  max-width: 456px;
  font-family: Special Gothic Semi Condensed, Arial, sans-serif;
  font-size: 1.2em;
  line-height: 130%;
  text-decoration: none;
}

.text-link.color-secondary {
  color: #7a7f99;
}

.case-in-progress { 
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.image-350 {
  width: 350px;
}

.main-info {
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.experience {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-right: 80px;
  display: flex;
}

.skills {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-flow: column;
  flex: none;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 0;
  margin-left: -24px;
  display: flex;
}

.photo {
  aspect-ratio: 1;
  max-width: 350px;
  position: absolute;
  inset: 0% 36px auto auto;
}

.experience-wrapper {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex-flow: column;
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

.experience-info {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  flex-flow: column;
  flex: none;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  grid-auto-flow: row;
  align-self: stretch;
  place-items: start;
  display: grid;
}

.link-button {
  color: #07070d;
  letter-spacing: .1em;
  text-transform: uppercase;
  background-color: #d1d3df;
  height: 20px;
  padding-left: 4px;
  padding-right: 2px;
  font-family: Special Gothic Semi Condensed, Arial, sans-serif;
  font-size: .9em;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}

.link-button.dark {
  color: #d1d3df;
  background-color: #07070d;
}

body.mobile-menu-open {
  position: fixed;
  left: 0;
  width: 100%;
  overflow: hidden;
}

/* Case Study */

.case-hero {
}

.case-intro {
}

.case-about {
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  margin-top: 52px;
  margin-bottom: 120px;
  display: grid;
}

.case-info-item {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  flex-flow: row;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: space-between;
  align-items: flex-start;
  display: grid;
}

.case-info {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  flex-flow: column;
  max-width: 900px;
  display: flex;
}

.short-description {
  max-width: 300px;
}

.info-heading {
  width: 150px;
}

.year {
  justify-content: flex-end;
  align-items: flex-start;
  max-width: 300px;
  display: flex;
}

.info-description {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex-flow: column;
  margin-top: -5px;
  margin-left: 0;
  display: flex;
}

.text-highlighted {
  color: #d1d3df;
}

.case-content {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  flex-flow: column;
  margin-bottom: 80px;
  padding-left: 16px;
  padding-right: 16px;
  display: flex;
}

/* Case Blocks */

/* Phase 1 case-study scaffold: semantic hooks only, no layout overrides yet. */
.case-section {
}

.case-block {
  --case-block-frame-bg: #101018;
  --case-block-frame-border: 1px solid #181b25;
}

.case-block--frame {
}

.case-block--clean {
  --case-block-frame-bg: transparent;
  --case-block-frame-border: 0;
}

.case-block--big-image {
}

.case-block--two-image {
}

.case-block--three-image {
}

.case-block--icon-line {
}

.case-block--text {
}

.case-block--single-left {
}

.case-block--single-right {
}

.big-image {
  background-color: var(--case-block-frame-bg, #101018);
  border: var(--case-block-frame-border, 1px solid #181b25);
  display: flex;
  justify-content: center;
  align-items: center;
}

.big-image.logo {
  background-color: var(--case-block-frame-bg, transparent);
  border: var(--case-block-frame-border, 0);
  justify-content: center;
  align-items: center;
  height: 940px;
  display: flex;
}

/* Utilities */

.no-border {
  --case-block-frame-border: 0;
}

.three-image-wrapper {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.square-image {
  aspect-ratio: 1;
  background-color: var(--case-block-frame-bg, #101018);
  border: var(--case-block-frame-border, 1px solid #181b25);
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

.label {
  z-index: 1;
  background-color: #1d1d2b;
  justify-content: center;
  align-items: center;
  height: 20px;
  padding-left: 4px;
  padding-right: 4px;
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
}

.two-image-wrapper {
  grid-column-gap: 8px;
  grid-row-gap: 8px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.image-100 {
  width: 100%;
}

@media (max-width: 1280px) {
  .m-mark {
    max-width: 40%;
  }
}

.icon-line {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.case-icon {
  width: 100%;
}

.card-bg {
  position: absolute;
  inset: 0%;
}

.case-image {
  z-index: 1;
  position: relative;
}

.display {
  color: #d1d3df;
  font-family: Death Crow, Times New Roman, sans-serif;
  font-size: 5.15em;
  line-height: 80%;
}

.case-title {
  margin-bottom: 8px;
}

.case-video {
  width: 100%;
}

.case-video video {
  display: block;
  width: 100%;
  height: auto;
}

/* Lottie Scene */

.lottie-hero {
  width: 100%;
}

.lottie-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #101018;
}

.lottie-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.lottie-bg svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lottie-widgets-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.lottie-widgets {
  width: min(56vw, 880px);
  max-width: 100%;
}

.lottie-widgets svg {
  display: block;
  width: 100%;
  height: auto;
}

/* Feed Page NEW */

.feed-section {
  width: 100%;
  overflow: hidden;
}

.feed-carousel {
  width: 100%;
}

.feed-viewport {
  width: 100%;
}

.feed-track {
  width: 100%;
}

.feed-slide {
  width: 100%;
}

.feed-thumbnail,
.feed-text-content {
  width: 100%;
}

.feed-thumbnail {
  width: 100%;
  max-width: 490px;
  height: 730px;
  max-height: 730px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feed-thumbnail img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  margin: auto;
}

.feed-side {
  width: 100%;
  max-width: calc(20px + 32px + 490px);
}

.feed-text-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 490px;
}

.slider-button {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: #d1d3df;
  color: #07070d;
  font-family: Special Gothic Semi Condensed, Arial, sans-serif;
  font-size: 0.9em;
  line-height: 1;
}

/* DESKTOP + TABLET */

@media (min-width: 767px) {
  .feed-section {
    width: 100%;
  }

  .feed-carousel {
    width: 100%;
  }

  .feed-viewport {
    width: 100%;
  }

  .feed-track {
    width: 100%;
  }

  .feed-slide {
    display: grid;
    grid-template-columns: minmax(20px, 1fr) minmax(0, 490px) minmax(20px, 1fr);
    justify-content: center;
    align-items: start;
    column-gap: 32px;
    min-height: 730px;
  }

  .feed-thumbnail {
    grid-column: 2;
    justify-self: center;
    align-self: start;
  }

  .feed-side {
    grid-column: 3;
    width: 100%;
    max-width: 542px;
    min-height: 730px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: start;
    justify-self: start;
    position: relative;
  }

  .slider-button.left {
    grid-column: 1;
    justify-self: end;
    align-self: center;
  }

  .slider-button.right {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    justify-self: start;
    align-self: auto;
  }

  .feed-text-content {
    justify-self: start;
    align-self: start;
    width: 100%;
  }

  .feed-slide:not(.is-active) {
    display: none;
  }
}

/* MOBILE */

@media (max-width: 766px) {
  .feed-carousel {
    width: 100%;
    overflow: visible;
  }

  .feed-viewport {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    margin: 0;
  }

  .feed-track {
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
    scroll-behavior: auto;
    touch-action: auto;
  }

  .feed-track::-webkit-scrollbar {
    display: none;
  }

  .feed-slide {
    width: 100%;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .feed-side {
    width: 100%;
    max-width: 490px;
    display: flex;
    flex-direction: column;
    margin-inline: auto;
  }

  .feed-text-content {
    width: 100%;
    margin-inline: auto;
    order: 0;
  }

  .feed-thumbnail {
    width: 100%;
    max-width: 490px;
    height: auto;
    max-height: none;
    margin-inline: auto;
    align-items: flex-start;
  }

  .feed-thumbnail img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    margin: 0 auto;
  }

  .slider-button {
    display: none;
  }

  .feed-slide:not(.is-active) {
    display: flex;
  }
}

@media (min-width: 767px) {
  .feed-slide:not(.feed-ready) .feed-text-content,
  .feed-slide:not(.feed-ready) .slider-button.right,
  .feed-slide:not(.feed-ready) .slider-button.left {
    opacity: 0;
  }

  .feed-slide.feed-ready .feed-text-content,
  .feed-slide.feed-ready .slider-button.right,
  .feed-slide.feed-ready .slider-button.left {
    opacity: 1;
    transition: opacity 0.18s ease;
  }
}

.about-me {
  max-width: 375px;
}

.main-wrapper {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.info-wrapper {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  flex-flow: column;
  display: flex;
}

.works-wrapper {
  grid-column-gap: 64px;
  grid-row-gap: 64px;
  flex-flow: column;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

/* Works Page */

.work-item {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: center;
  width: 500px;
  display: flex;
}

.work-thumbnail {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-width: 350px;
  width: 100%;
}

.work-thumbnail img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.work-thumbnail .slide-buffer {
  visibility: hidden;
}

.case-name-wrapper {
  display: flex;
  gap: 0px;
  margin-left: -24px;
}

.year-wrapper {
  margin-bottom: -22px;
  margin-left: 74px;
}

@media (max-width: 479px) {
  .work-thumbnail {
    max-width: 480px;
    width: 100%;
  }

  .case-name-wrapper {
    margin-left: 0px;
  }

  .year-wrapper {
    margin-left: 0px;
  }
}

/* Case Page */

.case-description-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.case-description {
  justify-content: center;
  align-items: center;
  height: 940px;
  display: flex;
}

.image-logo-process {
  max-width: 50%;
}

.image-line-4 {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.image-line-2 {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

/* Responsive */

@media screen and (min-width: 1280px) {
  .page-content {
    height: 100%;
  }

  .photo {
    max-width: 350px;
  }

  .case-about {
    margin-top: 52px;
    padding-left: 5%;
    padding-right: 5%;
  }

  .short-description {
    max-width: 250px;
  }

  .big-image.logo {
    height: 1080px;
  }

  .three-image-wrapper, .two-image-wrapper {
    grid-auto-columns: 1fr;
  }

  .icon-line {
    grid-auto-columns: 1fr;
    justify-content: flex-start;
  }

  .image-line-4, .image-line-2 {
    grid-auto-columns: 1fr;
    justify-content: flex-start;
  }

}

@media screen and (max-width: 991px) {
  .page-content {
    flex-flow: column;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    display: flex;
  }

  .photo {
    position: static;
  }

  .case-about {
    flex-flow: column;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    display: flex;
  }

  .case-info {
    max-width: none;
    margin-top: 40px;
  }

  .year {
    order: -9999;
    justify-content: flex-start;
    align-self: flex-end;
    align-items: flex-start;
    max-width: none;
    margin-bottom: -12px;
  }

  .big-image.logo {
    height: 600px;
  }

  .main-wrapper {
    grid-column-gap: 24px;
    grid-row-gap: 24px;
    flex-flow: column;
    justify-content: flex-start;
    align-self: flex-start;
    align-items: flex-start;
    display: flex;
  }

  .case-description {
    height: 600px;
  }

  .image-line-4 {
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }

  .image-line-2 {
    grid-template-rows: auto auto;
    grid-template-columns: 1fr;
  }

}

@media screen and (max-width: 767px) {
  .mobile-nav-overlay {
    display: flex;
  }

  .page-content {
    flex-flow: column;
    display: flex;
  }

  .experience {
    padding-right: 0;
  }

  .skills {
    margin-left: 0;
  }

  .experience-info {
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    display: flex;
  }

  .case-about {
    flex-flow: column;
    display: flex;
  }

  .case-content {
    grid-column-gap: 4px;
    grid-row-gap: 4px;
  }

  .big-image.logo {
    height: 400px;
  }

  .three-image-wrapper, .two-image-wrapper {
    grid-column-gap: 4px;
    grid-row-gap: 4px;
    flex-flow: column;
    display: flex;
  }

  .image-102 {
    max-width: 80%;
  }

  .display {
    font-size: 4.5em;
  }
}

@media screen and (max-width: 479px) {
  .image-350 {
    width: 380px;
  }

  .case-info-item {
    flex-flow: column;
    display: flex;
  }

  .info-description {
    margin-top: 8px;
    margin-left: 0;
  }

  .work-item {
    width: 100%;
  }

  .case-description-wrapper {
    max-width: 380px;
    padding-left: 0;
  }

  .case-name {
    margin-left: -16px;
  }

  .image-line-4 {
    flex-flow: column;
    display: flex;
  }

}

#w-node-_8099cac5-a016-18ae-7fde-448fd1374fa0-55ab9045 {
  place-self: start center;
}

#w-node-_99f16d93-fd67-9960-8382-ae62779480b7-779480b6 {
  grid-area: span 1 / span 2 / span 1 / span 2;
  align-self: stretch;
}

#w-node-_99f16d93-fd67-9960-8382-ae62779480b8-779480b6 {
  justify-self: start;
}

#w-node-_99f16d93-fd67-9960-8382-ae62779480c4-779480b6 {
  place-self: start stretch;
}

#w-node-_99f16d93-fd67-9960-8382-ae62779480e8-779480b6 {
  grid-area: span 1 / span 2 / span 1 / span 2;
  place-self: end stretch;
}

#w-node-d3377d35-4bb5-b09b-abb8-00e98c5954d0-d24d4fb7 {
  align-self: stretch;
}

#w-node-c481cf14-12c9-3c1c-d7a1-5fc38345d5af-0f8c9f66 {
  grid-area: span 1 / span 5 / span 1 / span 5;
}

#w-node-_541613b1-4d2e-ff95-43b2-045af99b04f2-0f8c9f66 {
  grid-area: span 1 / span 3 / span 1 / span 3;
}

#w-node-_3d1414dc-0df1-70de-183b-8d4b721fbb04-0f8c9f66, #w-node-_63ec598f-eb58-1691-7406-a90d1c67e812-0f8c9f66, #w-node-d59964bc-e153-2d52-d8d8-82b35207e046-0f8c9f66 {
  justify-self: center;
}

#w-node-_9cde2554-e514-b87a-a844-521e8daf2ef9-0f8c9f66 {
  justify-self: end;
}

#w-node-e85dadb6-347c-ba8e-5a95-48219bd99f65-0f8c9f66 {
  grid-area: 1 / 2 / 2 / 3;
}

#w-node-_524fff81-f156-e8c0-a889-8e090ce345d5-ce654386 {
  grid-area: span 1 / span 5 / span 1 / span 5;
}

#w-node-_524fff81-f156-e8c0-a889-8e090ce345da-ce654386 {
  grid-area: span 1 / span 3 / span 1 / span 3;
}

#w-node-_524fff81-f156-e8c0-a889-8e090ce345dc-ce654386, #w-node-_524fff81-f156-e8c0-a889-8e090ce345e7-ce654386, #w-node-_524fff81-f156-e8c0-a889-8e090ce345f4-ce654386 {
  justify-self: center;
}

#w-node-_524fff81-f156-e8c0-a889-8e090ce34604-ce654386 {
  justify-self: end;
}

#w-node-ac67d921-56e4-09fe-8633-4e537b38d1f3-ce654386 {
  justify-self: center;
}

#w-node-_524fff81-f156-e8c0-a889-8e090ce3461e-ce654386 {
  grid-area: 1 / 2 / 2 / 3;
}

#w-node-fdc9c9dc-d862-5e71-d980-e5d8dcfc2201-ce654386 {
  grid-area: 1 / 1 / 2 / 2;
}

#w-node-_42417394-bd4f-980c-0f3e-73466796f377-ce654386, #w-node-da2ec9d4-58cc-17e9-c963-00cf6d0c9436-ce654386, #w-node-c7e8f4ed-a592-8c74-b4d3-e659aa463573-ce654386 {
  justify-self: center;
}

@media screen and (min-width: 1280px) {
  #w-node-_541613b1-4d2e-ff95-43b2-045af99b04f2-0f8c9f66 {
    justify-self: center;
  }

  #w-node-e85dadb6-347c-ba8e-5a95-48219bd99f65-0f8c9f66 {
    grid-area: 1 / 2 / 2 / 3;
  }

  #w-node-bc0d6ece-d124-ef10-6fb6-ce5e87665e6b-0f8c9f66, #w-node-_405a497c-eb02-dd46-8b9f-69a78cba1d76-0f8c9f66, #w-node-_8a9bac93-8cf0-72aa-c050-812da5573c0a-0f8c9f66, #w-node-_7b1a3a7b-26b9-afcf-e812-6d29e9f9f2c0-0f8c9f66, #w-node-_7d46c3dd-791e-3ec5-f50c-4288410f35c3-0f8c9f66 {
    grid-area: span 1 / span 1 / span 1 / span 1;
  }

  #w-node-_524fff81-f156-e8c0-a889-8e090ce345da-ce654386 {
    justify-self: center;
  }

  #w-node-_524fff81-f156-e8c0-a889-8e090ce3461e-ce654386 {
    grid-area: 1 / 2 / 2 / 3;
  }

  #w-node-fdc9c9dc-d862-5e71-d980-e5d8dcfc2201-ce654386 {
    grid-area: 1 / 1 / 2 / 2;
  }

  #w-node-_524fff81-f156-e8c0-a889-8e090ce34624-ce654386, #w-node-_524fff81-f156-e8c0-a889-8e090ce34629-ce654386, #w-node-badffa3b-45ba-8858-0ffb-ac3985b1f4d7-ce654386, #w-node-badffa3b-45ba-8858-0ffb-ac3985b1f4d9-ce654386, #w-node-ed7781fe-c767-9bda-428a-8a4d0edd0f0b-ce654386, #w-node-ed7781fe-c767-9bda-428a-8a4d0edd0f0d-ce654386 {
    grid-area: span 1 / span 1 / span 1 / span 1;
  }
}

@media screen and (max-width: 991px) {
  #w-node-be4411b5-0ec7-a96d-4bb2-6cab9b9e1e2b-55ab9045 {
    grid-area: span 1 / span 2 / span 1 / span 2;
  }

  #w-node-_8099cac5-a016-18ae-7fde-448fd1374fa0-55ab9045 {
    grid-area: span 1 / span 2 / span 1 / span 2;
    justify-self: start;
  }

  #w-node-_99f16d93-fd67-9960-8382-ae62779480c4-779480b6 {
    grid-area: span 1 / span 2 / span 1 / span 2;
    place-self: start stretch;
  }

  #w-node-_3d1414dc-0df1-70de-183b-8d4b721fbb04-0f8c9f66, #w-node-_63ec598f-eb58-1691-7406-a90d1c67e812-0f8c9f66, #w-node-d59964bc-e153-2d52-d8d8-82b35207e046-0f8c9f66, #w-node-_524fff81-f156-e8c0-a889-8e090ce345dc-ce654386, #w-node-_524fff81-f156-e8c0-a889-8e090ce345e7-ce654386, #w-node-_524fff81-f156-e8c0-a889-8e090ce345f4-ce654386, #w-node-ac67d921-56e4-09fe-8633-4e537b38d1f3-ce654386, #w-node-_42417394-bd4f-980c-0f3e-73466796f377-ce654386, #w-node-da2ec9d4-58cc-17e9-c963-00cf6d0c9436-ce654386, #w-node-c7e8f4ed-a592-8c74-b4d3-e659aa463573-ce654386 {
    justify-self: start;
  }
}

@media screen and (max-width: 767px) {
  #w-node-_0ad56cc9-9417-7782-c22f-e156c0a90d25-c0a90d24 {
    order: -9999;
  }

  #w-node-_0ad56cc9-9417-7782-c22f-e156c0a90d2b-c0a90d24 {
    order: 1;
    justify-self: end;
  }
}

[data-madrid-weather] {
  display: inline-block;
  min-width: 2ch;
  white-space: nowrap;
}