  /* ---------------- Module system ---------------- */
  
  main {
    width: 80%;
    align-self: flex-end;
  }

  .modules {
    width: 100%-218px;
    display: flex;
    flex-direction: column;
    position: relative;
    margin-top: calc( -100vh + 60px );
    margin-left: 218px;
    gap: var(--module-gap);
    padding-top: 40px;
    padding-bottom: 80px;
  }

  /* ---- Intro block: always first, always the same shape ----
     Left: one or more stacked images (20px gap between them).
     Right: project title (Grunt Grotesk) + one or more text-blocks.
     Uses grid-template-areas so the title/stats group can be moved
     above the images on mobile without touching the DOM order. */
  .intro-block {
    grid-template-areas: "images title"
                          "images text";
    column-gap: var(--gap);
    row-gap: 0;
    align-items: start;
    padding: 0 60px;
  }

  .intro-title-group { 
    margin-bottom: 10px;
  }
  .intro-images { grid-area: images; }
  .intro-text { grid-area: text; }

  .intro-images {
    display: flex;
    flex-direction: column;
    gap: var(--module-gap);
  }

  .intro-image {
    width: 100%;
    background: var(--placeholder-bg);
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
  }

   .intro-video-wrap {
    inset: 0;
    height: calc( 100%-4px );
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
  }

  .project-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 36px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin: 0 0 20px;
    color: var(--text-primary);
  }


  .project-stats {
    display: contents;
    align-items: start;
    flex-direction: column;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
  }

  .project-stats p{
    margin: 10px 0;
  }

  .text-heading {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text-primary);
  }

  .extra-heading {
    font-size: 20px;
    font-weight: 700;
    margin: 20px 0 ;
    color: var(--text-primary);
  }

  .text-block p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);
    width: 70%;
    margin: 0px;
  }

  .text-block { 
    padding-bottom: 40px; 
  }

  .separator {
    border: none;
    border-top: 1px solid var(--border-color);
    width: 100%;
    margin-top: 40px;
    margin-bottom: 40px;

  }

  /* ---- Module (1): full-width responsive image ----
     Duplicate/reorder this block wherever you like. */
  .block-full {
    padding: 0 60px;
  }

  .full-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: var(--placeholder-bg);
    object-fit: cover;
    display: block;
  }

  .full-image-20 {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: var(--placeholder-bg);
    object-fit: cover;
    display: block;
    margin-bottom: 20px;
  }

  /* ---- Module (2): half-width image + text column(s) ----
     Duplicate/reorder this block wherever you like. Add as many
     .text-block elements inside .split-text as you need — they'll
     always align to the top of the image next to them. */
  .block-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--small-gap);
    align-items: start;
  }

  .split-image {
    width: 100%;
    background: var(--placeholder-bg);
    object-fit: cover;
    display: block;
  }

  /*-------------------BREAKPOINTS----------------------*/


  /*------------I mean try moving the 4000px to 
                the default look from the adapta
                tions, it's broken----------------------*/
  @media (max-width: 4000px) {
    header nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .modules {
      /* padding: 30px; */
    }
    .nav-links {
      flex: 1;
      min-width: 0;
    }

    .intro-block,
    .block-split {
      row-gap: var(--module-gap);
      padding-left: 50px;
      padding-right: 50px;
      margin: 0;
    }

    .block-full { 
      padding-left: 50px; 
      padding-right: 50px; 
    }


    .intro-title-group {
      padding-bottom: 80px;
    }

    .project-title {
      margin-bottom: 0px;
    }

    .intro-text {
      margin-top: var(--module-gap);
    }
  }

  /*----------------Text scale for big screens-----------------*/

  @media (min-width: 1440px) {

    .column-title {
    font-size: 14px;
    }

    .column-caption :nth-child(1) {
    font-size: 16px;
    letter-spacing: -0.01em;
    }

    .project-stats {
    font-size: 16px;
    }
    .text-heading {
      font-size: 16px;
    }

    .text-block p {
      font-size: 16px;
    }

    .modules {
    width: 100%-300px;
    margin-left: 300px;
    align-self: flex-end;
    }

    .column {
      width: 300px;
    }
    
    .column-image video {
    height: 330px !important;
    }
  }

  /*-------------------TABLET----------------------*/

  @media (max-width: 800px) {
    .intro-block,
    .block-full,
    .block-split,
    .uneven-split,
    .two-split,
    .three-split,
    .quater-split {
      padding-left: 30px !important;
      padding-right: 30px !important;
    }

    .text-block p {
      width: 100%;
    }

    .text-block li {
      width: 95% !important;
    }
  }

  @media (max-width: 600px) {
    .modules {
      margin-left: 160px;
      width: calc( 100% - 160px );
    }
  }

  /*-------------------MOBILE----------------------*/

  @media (max-width: 480px) {
    .modules {
      margin-left: 0px;
      margin-top: 0px;
      width: 100%;
    }

    .project-title {
      font-size: 28px;
    }
  }