:root {
  --black: #0a100d;
  --white-smoke: #edf2f4;
  --midnight-blue: #2b2d42;
}

body {
  background-color: var(--black);
  color: #edf2f4;
  font-family: Inter, sans-serif;
  font-size: .875rem;
  line-height: 1.25rem;
}

h1 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 38px;
  font-weight: bold;
  line-height: 44px;
}

.hero-section {
  width: 100%;
  height: 100vh;
  position: relative;
}

.hero-top-wrapper {
  padding-top: 1%;
  padding-left: 2%;
  padding-right: 2%;
}

.large-heading {
  letter-spacing: -.045em;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 6vw;
  font-weight: 400;
  line-height: 1.15;
}

.large-heading.smaller {
  font-size: 5vw;
}

.sketchable {
  z-index: 1;
  width: 100vw;
  height: 100vh;
  position: fixed;
  inset: 0%;
}

.section-bottom-wrapper {
  z-index: 5;
  border-top: .0625rem solid #edf2f466;
  justify-content: space-between;
  align-items: center;
  height: 3.75rem;
  padding-left: 2%;
  padding-right: 2%;
  display: flex;
  position: absolute;
  inset: auto 0% 0%;
}

/* Nav del hero: padding simétrico para centrar el texto */
.hero-section > .section-bottom-wrapper {
  height: auto;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.hero-link {
  color: var(--white-smoke);
  font-size: 1rem;
  text-decoration: none;
}

.hero-link:hover {
  opacity: .8;
}

.section {
  z-index: 5;
  width: 100%;
  min-height: 100vh;
  margin-top: 0;
  position: relative;
}

.section-heading-wrapper {
  border-top: 1px solid #edf2f466;
  border-bottom: none;
  justify-content: flex-start;
  align-items: center;
  padding: 1.25rem 2% 1.25rem calc(2% + 1rem);
  display: flex;
}

.section-heading-wrapper .large-heading {
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .5;
}

/* Work section: centered, contained width, more side margins */
.section--work .section-heading-wrapper {
  max-width: 78rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 6%;
  padding-right: 6%;
  padding-left: calc(6% + 1rem);
}

.work-grid {
  box-sizing: border-box;
  max-width: 78rem;
  margin-left: auto;
  margin-right: auto;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 6%;
  padding-right: 6%;
  display: block;
}

.work-item-wrapper {
  color: var(--white-smoke);
  grid-column-gap: 2.5rem;
  grid-template-columns: minmax(120px, 18%) 1fr;
  align-items: start;
  width: 100%;
  border-bottom: 1px solid #edf2f412;
  padding: 2.5rem 1rem;
  text-decoration: none;
  display: grid;
  position: relative;
}

.work-item-wrapper:hover {
  color: var(--white-smoke);
  text-decoration: none;
}

.work-item-wrapper .work-item-title {
  transition: transform .35s cubic-bezier(.25, .1, .25, 1), opacity .35s ease;
}

.work-item-wrapper:hover .work-item-title {
  transform: translateX(6px);
}

.work-item-wrapper .work-item-description {
  transition: opacity .35s ease;
}

.work-item-wrapper:hover .work-item-description {
  opacity: 1;
}

.work-item-wrapper:visited, .work-item-wrapper:active {
  color: var(--white-smoke);
  text-decoration: none;
}

.work-item-wrapper:focus-visible {
  outline: 2px solid #edf2f4;
  outline-offset: 4px;
}

.work-meta {
  grid-row-gap: .5rem;
  text-transform: uppercase;
  padding-top: .35rem;
  display: grid;
}

.work-year {
  opacity: .7;
  margin: 0;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .1em;
  line-height: 1.4;
}

.work-type {
  opacity: .6;
  margin: 0;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .08em;
  line-height: 1.4;
}

.work-content {
  max-width: 58rem;
}

.work-item-description {
  opacity: .85;
  margin-top: .85rem;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 400;
  line-height: 1.45;
}

.work-tags {
  grid-column-gap: 1.25rem;
  grid-row-gap: .4rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  display: flex;
}

.work-tag {
  opacity: .6;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .7rem;
  font-weight: 400;
  line-height: 1.2;
  display: inline-block;
}

.work-item-title {
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: -.035em;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  text-decoration: none;
}

.work-item-image {
  box-sizing: border-box;
  aspect-ratio: auto;
  object-fit: cover;
  width: 100%;
  height: 31.25rem;
  display: block;
  position: static;
  overflow: clip;
}
.selected-work-section {
  min-height: auto;
}

.selected-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 0 2%;
}

.selected-work-item {
  color: var(--white-smoke);
  text-decoration: none;
  padding: 2rem 1rem;
  border-bottom: 1px solid #edf2f412;
  display: block;
}

.selected-work-item:nth-child(odd) {
  border-right: 1px solid #edf2f40a;
}

.selected-work-item:hover {
  color: var(--white-smoke);
  text-decoration: none;
}

.selected-work-item .selected-work-title {
  transition: transform .35s cubic-bezier(.25, .1, .25, 1), opacity .35s ease;
}

.selected-work-item:hover .selected-work-title {
  transform: translateX(4px);
}

.selected-work-item .selected-work-desc {
  transition: opacity .35s ease;
}

.selected-work-item:hover .selected-work-desc {
  opacity: .9;
}

.selected-work-item:visited {
  color: var(--white-smoke);
  text-decoration: none;
}

.selected-work-title {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.2;
}

.selected-work-desc {
  display: block;
  opacity: .7;
  font-size: clamp(.85rem, 1.2vw, 1rem);
  font-weight: 400;
  line-height: 1.4;
  margin-top: .5rem;
}

.selected-work-tag {
  display: block;
  opacity: .4;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .65rem;
  font-weight: 400;
  line-height: 1.2;
  margin-top: .85rem;
}

.info-wrapper {
  padding-left: 2%;
  padding-right: 2%;
}

.welcome-text-wrapper {
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
  position: relative;
}

.overflow-none {
  overflow: hidden;
}

.overflow-none.full {
  box-sizing: border-box;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  aspect-ratio: auto;
  object-fit: fill;
  border-radius: 4px;
  flex-flow: row;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  overflow: hidden;
}

.image-cover {
  z-index: 1;
  background-color: var(--black);
  mix-blend-mode: color-burn;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0% 0% auto;
}

.card-hover {
  z-index: 6;
  box-sizing: border-box;
  color: #fff;
  object-fit: fill;
  background-color: #00000080;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  max-width: none;
  height: 100%;
  display: flex;
  position: absolute;
  inset: 0%;
  overflow: hidden;
}

.track {
  white-space: nowrap;
  flex: none;
  justify-content: flex-start;
  align-items: center;
  font-size: .675rem;
  line-height: 1rem;
  display: flex;
  position: static;
  overflow: hidden;
}

.works-title {
  z-index: 90;
  text-transform: uppercase;
  white-space: nowrap;
  margin-top: 2vh;
  margin-bottom: 2vh;
  font-size: 18vh;
  font-weight: 400;
  line-height: 1;
  text-decoration: none;
  position: relative;
}

.works-title.med-size {
  font-size: 13vh;
}

.divider {
  flex-direction: column;
  justify-content: flex-end;
  min-height: 5vh;
  display: flex;
  overflow: hidden;
}

.divider.works {
  background-color: #fff;
  width: 2.8125rem;
  height: .25rem;
  min-height: auto;
  margin-left: 1.5vw;
  margin-right: 1.5vw;
}

.infinite-marquee {
  display: none;
}

.muted {
  opacity: .8;
}

.muted.pointer {
  cursor: pointer;
}

.cursor-wrap {
  z-index: 10000;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  display: flex;
  position: fixed;
  inset: 0%;
}

.cursor-wrap.mbm-ex {
  opacity: 0;
  transition: opacity .2s;
}

.cursor-dot {
  mix-blend-mode: exclusion;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 12px;
  height: 12px;
}

.cursor {
  display: none;
}

.hover-gif {
  width: 250px;
  height: 250px;
  position: absolute;
}

.hover-gif.pointer-off {
  z-index: 1;
  inset: auto 0% 0%;
}

.utility-page-wrap {
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-width: 100%;
  height: 100vh;
  max-height: 100%;
  display: flex;
}

.utility-page-content {
  text-align: center;
  flex-direction: column;
  width: 260px;
  display: flex;
}

.utility-page-form {
  flex-direction: column;
  align-items: stretch;
  display: flex;
}

.heading {
  margin-top: 60px;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
}

@media screen and (max-width: 991px) {
  .work-item-wrapper {
    grid-column-gap: 1.5rem;
    grid-template-columns: minmax(100px, 20%) 1fr;
    padding: 2.25rem .75rem;
  }

  .work-item-title {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
  }

  .work-item-description {
    font-size: 1rem;
  }

  .work-year {
    font-size: .75rem;
  }

  .work-type {
    font-size: .65rem;
  }

  .work-tag {
    font-size: .65rem;
  }

  .card-hover {
    display: none;
  }

  .works-title {
    font-size: 9vh;
  }

  .divider {
    min-height: 2.8125rem;
  }

  .cursor-wrap.mbm-ex {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .selected-work-grid {
    grid-template-columns: 1fr;
  }

  .selected-work-item:nth-child(odd) {
    border-right: none;
  }

  .large-heading.smaller {
    font-size: 6vw;
  }

  .work-item-wrapper {
    grid-row-gap: 1rem;
    grid-template-columns: 1fr;
    padding: 2rem .5rem;
  }

  .work-meta {
    grid-column-gap: 1rem;
    grid-row-gap: .2rem;
    grid-template-columns: auto auto;
    justify-content: start;
    align-items: baseline;
    padding-top: 0;
  }

  .work-year {
    font-size: .7rem;
  }

  .work-type {
    font-size: .6rem;
  }

  .work-item-title {
    font-size: clamp(1.6rem, 8vw, 2.8rem);
  }

  .work-item-description {
    font-size: .95rem;
    line-height: 1.45;
  }

  .work-tags {
    grid-column-gap: .8rem;
    margin-top: .85rem;
  }

  .work-tag {
    font-size: .6rem;
  }

  .work-item-image {
    object-fit: contain;
  }

  .cursor-wrap, .cursor-dot {
    display: none;
  }
}

@media screen and (max-width: 479px) {
  .hero-top-wrapper {
    padding-left: 5%;
    padding-right: 5%;
  }

  .large-heading {
    margin-top: .5rem;
    padding-top: 0;
    font-size: 8vw;
  }

  .large-heading.smaller {
    font-size: 8vw;
  }

  .section-bottom-wrapper {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    margin-bottom: 100px;
    padding-bottom: 0;
    padding-left: 5%;
    padding-right: 5%;
  }

  .section-bottom-wrapper.vertical {
    object-fit: fill;
    flex-direction: column;
    position: absolute;
  }

  .hero-link {
    margin-top: 12px;
  }

  .section-heading-wrapper {
    padding-left: 5%;
    padding-right: 5%;
    padding-left: calc(5% + .75rem);
  }

  .section--work .section-heading-wrapper {
    padding-left: 5%;
    padding-right: 5%;
    padding-left: calc(5% + .75rem);
  }

  .work-grid {
    padding-left: 5%;
    padding-right: 5%;
  }

  .selected-work-grid {
    padding-left: 5%;
    padding-right: 5%;
  }

  .work-item-image {
    box-sizing: border-box;
    object-fit: contain;
    height: auto;
    overflow: visible;
  }

  .info-wrapper {
    padding-left: 5%;
    padding-right: 5%;
  }
}
