/* ============================================================
   GZJ COMPONENTS
   Shared component styles carried over from the Webflow export: the Geo
   @font-face, the design tokens (--web_font, --size-1/2, the palette) and
   the type/nav/overlay classes the pages still use.

   Was gzj-portfolio.webflow.css. Renamed because nothing here depends on
   Webflow any more -- the runtime, webflow.css and every generated class
   name are gone.
   ============================================================ */

@font-face {
  font-family: Geo;
  src: url('../fonts/geo.otf') format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --web_font: Geo, 'Inter', Arial, sans-serif;
  --web-wht: #f4f4f4;
  --size-2: 22px;
  --web_blk: #000;
  --size-1: 14px;
  --web_blue: #1f5eec;
  --web-orange: #7acdff;
}

/* ============================================================
   MACBOOK BREAKPOINT — 901px to 1440px
   All typography scales to 0.75x its standard (desktop/1920) size.
   Scoped above the 900px mobile cutoff so mobile sizing is untouched,
   and below 1441px so full desktop monitors stay at 1x.
   ============================================================ */
@media (min-width: 901px) and (max-width: 1450px) {
  :root {
    --size-1: 10.5px; /* 14px * 0.75 */
    --size-2: 16.5px; /* 22px * 0.75 */
  }

  .heading { font-size: 30px; line-height: 30px; } /* 40px * 0.75 */

  /* !important: a legacy max-width:991px block further down this file
     hardcodes .proj-copy/.proj-meta-text font-size/line-height (and hides
     .proj-meta-text entirely) for its own old layout, which otherwise wins
     the cascade for the 901-991px slice of this range. */
  .proj-copy { font-size: var(--size-2) !important; line-height: 21px !important; } /* 28px * 0.75 */
  .proj-meta-text { font-size: var(--size-1) !important; line-height: 15px !important; display: block !important; } /* 20px * 0.75 */
  .proj-content .proj-copy { font-size: var(--size-2) !important; line-height: 21.75px !important; } /* 29px * 0.75 */
}

.w-layout-blockcontainer {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.w-layout-hflex {
  flex-direction: row;
  align-items: flex-start;
  display: flex;
}

@media screen and (max-width: 991px) {
  .w-layout-blockcontainer {
    max-width: 728px;
  }
}

@media screen and (max-width: 767px) {
  .w-layout-blockcontainer {
    max-width: none;
  }
}

.heading {
  font-family: var(--web_font);
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: 500;
  line-height: 40px;
}

.heading.rightside {
  max-width: 50%;
  margin-bottom: 10px;
}

.heading.leftside {
  color: var(--web-wht);
  margin-top: 0;
}

.proj-copy {
  font-family: var(--web_font);
  font-size: var(--size-2);
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 0;
  line-height: 28px;
}

.proj-copy.aboutme {
  margin-top: 50px;
  padding-top: 9px;
}

.index {
  z-index: 44;
  background-color: var(--web_blk);
  width: 20vw;
  max-width: 20vw;
  height: 100vh;
  margin-left: 0;
  display: block;
  position: sticky;
  top: 0%;
  bottom: 0%;
  right: auto;
  overflow: visible;
}

.site_right {
  width: 80%;
  max-width: 1600px;
  height: 100%;
  position: static;
  inset: 0% 0% 0% auto;
  overflow: hidden;
}

.portfolio-image {
  min-width: 100%;
  margin-top: 5px;
  margin-bottom:5px;
}

.proj-meta-text {
  font-family: var(--web_font);
  font-size: var(--size-1);
  margin: 20px 0;
  padding-left: 40px;
  line-height: 20px;
  color: rgb(120,120,120);
}

.proj-content .proj-copy {
  font-size: var(--size-2);
  line-height: 29px;
}

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

.proj-section {
  z-index: 0;
  display: block;
  position: static;
  inset: 0% auto 0% 0%;
}

.mnav-projects {
  margin-top: 50px;
  display: none;
  position: relative;
}


.right_website {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  color: var(--web_blk);
  background-color: #0000;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  height: 100%;
  margin-left: 10px;
  margin-right: 10px;
  display: block;
  position: relative;
  overflow: visible;
}

.body {
  background-color: var(--web-wht);
  flex-flow: column;
  display: flex;
  overflow: visible;
}

.body.dark {
  font-family: var(--web_font);
}

.graphic_world {
  width: 80vw;
  min-width: 20vw;
  max-width: 80vw;
  margin-top: -50px;
  display: block;
  position: static;
  left: 20vw;
  overflow: visible;
}


/* Contact/info link styling: remove underline and use --web-orange on hover */
.contact-list a {
  color: inherit;
  text-decoration: none;
}
.contact-list a:hover,
.contact-list a:focus {
  color: var(--web-orange) !important;
  text-decoration: none;
  outline: none;
}

.bg-video_1920x1080 {
  object-fit: cover;
  width: 100%;
  height: auto;
  padding-top: 56.25%;
  margin-top: 5px;
  margin-bottom:5px;
}

.background-video-1 {
  min-width: 100%;
  max-width: 100%;
  height: 900px;
  max-height: 600px;
    margin-top: 5px;
  margin-bottom: 5px;
}

.mnav-item {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  font-family: var(--web_font);
  color: var(--web-wht);
  font-size: var(--size-2);
  grid-template-rows: auto;
  grid-template-columns: .25fr;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  padding: 12px 30px 9px 44px;
  font-weight: 400;
  line-height: 28px;
  text-decoration: none;
  display: block;
}

.mnav-item:hover {
  color: var(--web-orange);
}

.mnav-item.w--current {
  background-color: var(--web_blue);
}

.mnav-item.mnav-item-project {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  grid-template-rows: auto;
  grid-template-columns: .25fr 2.5fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.image {
  z-index: 45;
  height: 40%;
  margin: auto;
  position: absolute;
  inset: 0%;
}

.mnav-menu{
  display: none;
}

.contact-list {
  font-family: var(--web_font);
  color: var(--web-wht);
  font-size: var(--size-1);
  text-align: left;
  margin-bottom: 63px;
  margin-left: 30px;
  padding-right: 30px;
  line-height: 22px;
  position: absolute;
  inset: auto auto 0% 0%;
}

.proj-section-cg {
  z-index: 0;
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  position: static;
  inset: 0% auto 0% 0%;
}

.concept-grid {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  flex-flow: row;
  grid-template-rows: auto auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  align-items: stretch;
  display: grid;
}

.aboutme-photo {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-top: 40px;
}

.p5-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  overflow: hidden;
}

.mnav-pages {
  position: absolute;
  inset: auto 0% 200px;
  overflow: visible;
}

.section-4 {
  display: none;
}

.lightbox {
  height: 100%;
  margin-bottom: 20%;
}

.lightbox-thumbnail {
  object-fit: cover;
  height: 100%;
}


.mobile-site {
  display: none;
}

.proj-meta-label{
  font-weight: 400;
}

.mobile-footer {
  display: none;
}
@media screen and (max-width: 991px) {
  .heading.rightside {
    max-width: none;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 26px;
    line-height: 30px;
  }

  .heading.rightside.inverted {
    color: var(--web-wht);
  }

  .proj-copy {
    font-size: 16px;
    line-height: 20px;
  }

  .site_right {
    flex-flow: column;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: none;
    display: flex;
  }

  .portfolio-image {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .proj-meta-text {
    padding-left: 0;
    display: none;
  }

  .proj-module {
    margin-bottom: 30px;
    margin-left: 10px;
    margin-right: 10px;
    display: block;
  }

  .proj-module.inverted {
    color: var(--web-wht);
  }

  .proj-section {
    padding-top: 0px;
  }

  .mnav-projects {
    margin-top: 0;
    margin-bottom: 0;
    display: block;
    position: static;
  }

  .right_website {
    margin-right: 10px;
  }

  .graphic_world {
    flex-flow: column;
    justify-content: space-between;
    align-items: stretch;
    width: auto;
    max-width: none;
    margin-top: 0;
    margin-bottom: 5px;
  }

  .background-video-1 {
    object-fit: cover;
    min-width: 0;
    max-width: none;
    height: auto;
    max-height: none;
    margin-top: 5px;
    margin-bottom: 5px;
    padding-top: 20%;
  }

  .mnav-item {
    padding-top: 4px;
    padding-bottom: 5px;
    font-size: 16px;
    line-height: 22px;
  }

  .mnav-item.mnav-item-project {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    grid-template-columns: .25fr 3.75fr;
    padding-top: 8px;
    padding-bottom: 10px;
  }

  .image {
    height: 60%;
    position: absolute;
    inset: 0%;
  }

  .mnav-menu {
    z-index: 45;
    background-color: var(--web_blk);
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
  }

  .video {
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .contact-list {
    color: var(--web-wht);
    margin-bottom: 0;
    margin-left: 0;
    padding-right: 0;
    font-size: 12px;
    line-height: 17px;
    text-decoration: none;
    display: block;
    position: static;
    bottom: auto;
    left: auto;
  }

  .proj-section-cg {
    padding-top: 70px;
  }

  .mnav-pages {
    margin-top: 0;
    margin-bottom: 0;
    position: static;
    inset: auto;
  }

  .section-4 {
    display: block;
  }

  .mnav-panel {
    flex-flow: column;
    justify-content: space-between;
    height: 100dvh;
    padding-bottom: 30px;
    display: flex;
  }

  .mobile-site {
    background-color: var(--web-wht);
    flex-flow: column;
    display: flex;
  }

  .mobile-site.no-background {
    background-color: #000;
  }

  .next-project {
    font-family: var(--web_font);
    color: var(--web-wht);
    margin-top: auto;
    margin-bottom: auto;
    font-size: 12px;
    line-height: 20px;
    text-decoration: none;
  }

  .mobile-footer {
    background-color: var(--web_blk);
    text-align: right;
    justify-content: space-between;
    align-items: stretch;
    padding: 30px 30px 30px 10px;
    display: flex;
  }
}

@media screen and (max-width: 767px) {
  .heading.rightside {
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
  }

  .portfolio-image {
    margin-top: 2px;
    margin-bottom: 2px;
  }

  .proj-module {
    margin-left: 0;
    margin-right: 0;
    padding-right: 0;
  }

  .bg-video_1920x1080 {
    margin-top: 2px;
    margin-bottom: 2px;
  }

  .video {
    margin-top: 2px;
    margin-bottom: 2px;
  }

}

@media screen and (max-width: 479px) {

  .heading.rightside {
    max-width: 100%;
    font-size: 25px;
    line-height: 30px;
  }

  .index {
    display: none;
  }

  .site_right {
    margin-left: 0;
    margin-right: 0;
  }

  .proj-meta-text {
    padding-left: 0;
  }

  .proj-module {
    padding-left: 0;
    display: block;
  }

  .proj-section.mobile-aboutme {
    height: 100vh;
  }

  .mnav-projects {
    padding-top: 0;
    display: block;
  }

  .right_website {
    margin-left: 10px;
    margin-right: 10px;
  }

  .graphic_world {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .background-video-1 {
    max-height: 200px;
  }

  .mnav-item {
    padding-left: 10px;
    padding-right: 20px;
  }

  .mnav-item:hover {
    color: var(--web-wht);
  }

  .mnav-menu {
    background-color: var(--web_blk);
  }

  .proj-section-cg {
    padding-top: 40px;
  }

  .mnav-pages {
    padding-top: 0;
  }

  .next-project {
    padding-right: 10px;
  }

  .mobile-footer {
    padding: 15px 10px 30px;
  }
}

