.magnifying-glass-draggable {
  position: absolute;
  top: 120px;              /* start position */
  left: 120px;
  width: 300px;             /* or any size you want */
  height: 300px;
  cursor: grab;
  z-index: 2000;
  user-select: none;
  pointer-events: auto;
}
.magnifying-glass-draggable:active {
  cursor: grabbing;
}


/* ============================================ */
/* ANIMATION SECTION - MAIN LAYOUT             */
/* ============================================ */

.animation-layout {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #e8e8e8;
  padding: 120px 140px 180px 140px;
  min-height: 100vh;
  position: relative;
}

/* ============================================ */
/* TOP THREE-COLUMN GRID - ISOLATED LAYOUT     */
/* Left: Purpose | Center: Characters | Right: Achievement */
/* ============================================ */

.top-grid {
  position: relative;
  width: 100%;
  height: 800px;  /* Fixed height prevents text from affecting layout */
  margin-bottom: 180px;
}

/* Left column - Purpose */
.text-block.purpose {
  position: absolute;
  left: -50px;
  top: 30px;
  width: 20%;  /* Fixed width */
  max-height: 100%;
  overflow: visible;
}

/* Right column - Achievement */
.text-block.achievement {
  position: absolute;
  right: -50px;
  top: 0;
  width: 20%;  /* Fixed width */
  max-height: 100%;
  overflow: visible;
}

/* Purpose heading - INDEPENDENTLY POSITIONED */
.text-block.purpose h3 {
  font-size: 1.3rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  margin-bottom: 30px;
  position: relative;
  left: 0px;      /* CHANGE THIS to move purpose heading left/right */
  top: 0px;       /* CHANGE THIS to move purpose heading up/down */
}

/* Purpose paragraph 1 - INDEPENDENTLY POSITIONED */
.text-block.purpose p:nth-of-type(1) {
  font-size: 0.75rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  position: relative;
  left: 0px;      /* CHANGE THIS to move first purpose paragraph */
  top: 10px;
}

/* Purpose paragraph 2 - INDEPENDENTLY POSITIONED */
.text-block.purpose p:nth-of-type(2) {
  font-size: 0.75rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  position: relative;
  left: 0px;      /* CHANGE THIS to move second purpose paragraph */
  top: 45px;
}

/* Achievement heading - INDEPENDENTLY POSITIONED */
.text-block.achievement h4 {
  font-size: 1.3rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  margin-bottom: 30px;
  position: relative;
  left: 0px;      /* CHANGE THIS to move achievement heading left/right */
  top: 0px;       /* CHANGE THIS to move achievement heading up/down */
}

/* Objective heading - INDEPENDENTLY POSITIONED */
.text-block.achievement h5.objective-right {
  text-align: right;
  font-size: 1.3rem;
  font-weight: normal;
  margin-bottom: 50px;
  text-transform: lowercase;
  font-style: italic;
  position: relative;
  left: 0px;      /* CHANGE THIS to move objective heading left/right */
  top: -40px;       /* CHANGE THIS to move objective heading up/down */
}

/* Achievement paragraph 1 - INDEPENDENTLY POSITIONED */
.text-block.achievement p:nth-of-type(1) {
  font-size: 0.75rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  position: relative;
  left: 0px;      /* CHANGE THIS to move first achievement paragraph */
  top: -70px;
}

/* Achievement paragraph 2 - INDEPENDENTLY POSITIONED */
.text-block.achievement p:nth-of-type(2) {
  font-size: 0.75rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
  position: relative;
  left: 0px;      /* CHANGE THIS to move second achievement paragraph */
  top: -50px;
}

/* ============================================ */
/* CENTER COLUMN: Characters + Watermark Text  */
/* Rocky (LEFT, FLIPPED) and Pluck (RIGHT)    */
/* ============================================ */

.topsection {
  display: flex;
  align-items: flex-end;
  gap: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  justify-content: center;
  flex-shrink: 0;
}

.idiom-image {
  width: 600px;
  height: auto;
  position: relative;
  flex-shrink: 0;
  left: 0px;
  top: -150px;
  z-index: 3;
  opacity: 0.8;
}

.rocky-image {
  transform: scaleX(-1);  
  width: 230px;
  height: auto;
  position: relative;
  flex-shrink: 0;
  left: 200px;    /* Moves Rocky right to overlap idiom */
  top: -150px;
  z-index: 2;
}

.pluck-image {
  width: 220px;
  height: auto;
  position: relative; 
  flex-shrink: 0;
  left: -220px;   /* Moves Pluck left to overlap idiom */
  top: -150px;
  z-index: 2;
}

/* ============================================ */
/* PARALLAX BUILDINGS SECTION - UPDATED        */
/* Three building layers with scroll effect    */
/* ============================================ */

.buildings-parallax {
  position: relative;
  width: 100vw;
  height: 500px;              /* CHANGE THIS: Height of buildings section */
  margin-left: calc(-50vw + 50%);
  margin-top: -570px;          /* CHANGE THIS: More negative = moves buildings higher */
  margin-bottom: 100px;
  overflow: hidden;
}

.building-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: auto 100%;
  background-position: bottom center;
  background-repeat: repeat-x;
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Buildings One - Back layer (slowest parallax) */
.building-layer.buildings-one {
  background-image: url('animation/buildingsone.png');
  z-index: 3;
  opacity: 1;
}

/* Buildings Two - Middle layer */
.building-layer.buildings-two {
  background-image: url('animation/buildingstwo.png');
  z-index: 2;
  opacity: 1;
}

/* Buildings Three - Front layer (fastest parallax) */
.building-layer.buildings-three {
  background-image: url('animation/buildingsthree.png');
  z-index: 1;
  opacity: 1;
}

/* ============================================ */
/* APPROACH SECTION - ISOLATED LAYOUT          */
/* Left: Title image + text + "approach" | Right: 6 storyboards */
/* ============================================ */

.approach-section {
  position: relative;
  width: 100%;
  min-height: 1100px;  /* Increased to accommodate moved storyboards */
  margin-bottom: 200px;
}

/* LEFT SIDE - Fixed position container */
.approach-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 45%;  /* Fixed width */
  display: flex;
  flex-direction: column;
  gap: 0;  /* Remove gap, we'll position individually */
}




.title-image {
  width: 130%;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  left: -45px;      /* CHANGE THIS to move title image */
  top: 90px;
}

/* "approach" title - NOW ABOVE PARAGRAPHS */
.approach-text-bottom {
  position: relative;
  left: 0px;      /* CHANGE THIS to move approach heading */
  top: 70px;      /* Space below title image */
}

.approach-text-bottom h3 {
  font-size: 1.3rem;
  font-weight: normal;
  font-style: italic;
  text-transform: lowercase;
  margin: 0;
  margin-bottom: 30px;  /* Space before paragraphs */
}

/* Two-column text grid - BELOW "approach" heading */
.approach-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;  /* Increased gutter from 30px to 50px */
  width: 90%;
  position: relative;
  left: 50px;      /* CHANGE THIS to move paragraph grid */
  top: 100px;      /* Positioned below approach heading */
}

/* Individual paragraph positioning */
.approach-text-grid > div:nth-child(1) {
  position: relative;
  left: 0px;      /* CHANGE THIS to move left paragraph */
  top: 0px;
}

.approach-text-grid > div:nth-child(2) {
  position: relative;
  left: 0px;      /* CHANGE THIS to move right paragraph */
  top: 0px;
}

.approach-text-grid p {
  font-size: 0.75rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 0;
}

/* RIGHT SIDE - Fixed position 6 Storyboards - MOVED DOWN AND RIGHT */
.storyboard-grid {
  position: absolute;
  right: -10px;   /* MOVED RIGHT (was 0) - CHANGE THIS for more/less */
  top: 230px;     /* MOVED DOWN (was 0) - CHANGE THIS for more/less */
  width: 40%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  column-gap: 20px;  /* Horizontal space between columns */
  row-gap: 50px;     /* Vertical space between rows */
}

.storyboard-item {
  width: 90%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  left: 0px;      /* CHANGE THIS to move individual storyboard */
  top: 0px;
}

/* Move individual storyboards if needed */
.storyboard-item:nth-child(1) {
  position: relative;
  left: 0px;      /* CHANGE THIS for storyboard 1 */
  top: 0px;
}

.storyboard-item:nth-child(2) {
  position: relative;
  left: 0px;      /* CHANGE THIS for storyboard 2 */
  top: 0px;
}

.storyboard-item:nth-child(3) {
  position: relative;
  left: 0px;      /* CHANGE THIS for storyboard 3 */
  top: 0px;
}

.storyboard-item:nth-child(4) {
  position: relative;
  left: 0px;      /* CHANGE THIS for storyboard 4 */
  top: 0px;
}

.storyboard-item:nth-child(5) {
  position: relative;
  left: 0px;      /* CHANGE THIS for storyboard 5 */
  top: 0px;
}

.storyboard-item:nth-child(6) {
  position: relative;
  left: 0px;      /* CHANGE THIS for storyboard 6 */
  top: 0px;
}

.storyboard-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: 2px solid #000;
}

/* ============================================ */
/* SCREENSHOTS SECTION - NEW LAYOUT            */
/* Left: 6 environments in 3x2 grid | Right: Text + Desk */
/* ============================================ */

.screenshots-section {
  position: relative;
  width: 110%;
  margin-bottom: 0%;
}

.screenshots-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;  /* Left side wider for environments */
  gap: 80px;
  margin-bottom: 0px;
  width: 100%;
  align-items: start;
}

/* LEFT SIDE: 6 Environment frames in 3 rows x 2 columns */
.frames-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  column-gap: 40px;  /* Horizontal space between columns */
  row-gap: 60px;     /* Vertical space between rows */
  width: 100%;
  position: relative;
  left: 0px;    /* CHANGE THIS: positive = right, negative = left */
  top: -300px;     /* CHANGE THIS: positive = down, negative = up */
}

.frame-item {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.frame-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* Border removed for environment images */
}

/* Move individual environment frames if needed */
.frame-item:nth-child(1) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move environment 1 */
  top: 0px;
}

.frame-item:nth-child(2) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move environment 2 */
  top: 0px;
}

.frame-item:nth-child(3) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move environment 3 */
  top: 0px;
}

.frame-item:nth-child(4) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move environment 4 */
  top: 0px;
}

.frame-item:nth-child(5) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move environment 5 */
  top: 0px;
}

.frame-item:nth-child(6) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move environment 6 */
  top: 0px;
}

/* RIGHT SIDE: Text + Desk Container */
.screenshots-right {
  display: flex;
  flex-direction: column;
  gap: 40px;  /* Space between text and desk */
  position: relative;
  left: 100px;  /* CHANGE THIS to move entire right side */
  top: -300px;
  align-items: flex-start;  /* Align items to left */
}
/* Text Paragraphs - NARROWER */
.screenshots-text {
  position: relative;
  left: -50px;
  top: -10px;
  width: 55%;
  max-width: 450px;
}

/* Hat Image - Positioned on top of text */
.hat-image {
  position: absolute;
  width: 80px;          /* CHANGE THIS to resize hat */
  height: auto;
  right: -50px;         /* CHANGE THIS to move hat left/right */
  top: -4px;           /* CHANGE THIS to move hat up/down */
  transform: rotate(57deg);  /* CHANGE THIS for rotation angle */
  z-index: 10;
  pointer-events: none;
}

.screenshots-text p {
  font-size: 0.75rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 20px;
}

.screenshots-text p:last-child {
  margin-bottom: 0;
}
/* Individual paragraph positioning */
.screenshots-text p:nth-child(1) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move paragraph 1 */
  top: 0px;
}

.screenshots-text p:nth-child(2) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move paragraph 2 */
  top: 0px;
}

.screenshots-text p:nth-child(3) {
  position: relative;
  left: 0px;  /* CHANGE THIS to move paragraph 3 */
  top: 0px;
}

/* Desk Image Container - SMALLER */
.desk-image-container {
  width: 45%;  /* SMALLER - was 100%, now 60% */
  max-width: 350px;  /* Maximum width constraint */
  position: relative;
  left: 30px;  /* CHANGE THIS to move desk */
  top: 80px;
}

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


/* Remove old screenshot grid styles */
.screenshots-grid {
  display: none;  /* Hide old placeholder grid */
}

.screenshot-placeholder {
  display: none;  /* Hide old placeholders */
}

.side-text {
  display: none;  /* Text moved to screenshots section */
}



.footPrints-container {
  width: 100%;
  height: auto;
  margin-top: -150px;
  margin-bottom: 150px;
  overflow: visible;
  display: block;
  margin-left: -5%;
  margin-right: auto;
}
.footPrints-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}




/* ============================================ */
/* FINAL VIDEO SHOWCASE - VIMEO EMBED          */
/* ============================================ */

.final-showcase {
 
  position: relative;
  margin-bottom: 120px;
  margin-left: -100px;

  position: relative;
  margin-bottom: 120px;
  
}

  

.final-video-container {
  max-width: 900px;
  margin: 0 auto;
}

/* Vimeo Video Wrapper */
.final-video-wrapper {
  width: 100%;
  background: #000;
  border-radius: 0;
  margin-bottom: 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.final-video-wrapper iframe {
  display: block;
}

/* Video Caption */
.final-caption {
  text-align: left;
  padding-left: 0;
}

.final-caption p {
  margin: 5px 0;
  font-size: 0.75rem;
  color: #000;
}

.final-caption p:first-child {
  font-style: italic;
}



@media (max-width: 900px) {
  .final-showcase {
    padding: 0 20px;
    margin-top: 40px;
  }
  
  .final-video-container {
    max-width: 100%;
  }
  
  .final-caption p {
    font-size: 0.3rem;
  }
}

/* ============================================ */
/* BOTTOM SPACER                               */
/* ============================================ */

.animation-bottom-spacer {
  height: 120px;
  background: transparent;
}

/* ============================================ */
/* RESPONSIVE DESIGN - UPDATED                 */
/* ============================================ */

@media (max-width: 1400px) {
  .animation-layout {
    padding: 100px 100px 140px 100px;
  }
  
  /* Restore grid layout for smaller screens */
  .top-grid {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .text-block.purpose,
  .text-block.achievement,
  .center-showcase {
    position: static;
    width: 100%;
  }
  
  .approach-section {
    min-height: auto;
  }
  
  .approach-left,
  .storyboard-grid {
    position: static;
    width: 100%;
  }
  
  .storyboard-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 40px;
  }
  
  .side-content {
    min-height: auto;
  }
  
  .side-text,
  .color-block-large {
    position: static;
    width: 100%;
  }
  
  .color-block-large {
    margin-top: 40px;
  }
}

@media (max-width: 900px) {
  .animation-layout {
    padding: 80px 40px 100px 40px;
  }
  
  .top-grid {
    margin-bottom: 100px;
  }
  
  .screenshots-grid {
    grid-template-columns: 1fr;
  }
  
  .storyboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .final-showcase {
    padding: 0 20px;
  }
  
  .animation-bottom-spacer {
    height: 80px;
  }
}

/* ============================================ */
/* ANIMATION SECTION - MAIN LAYOUT             */
/* ============================================ */

.animation-layout {
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #e8e8e8;
  padding: 120px 140px 180px 140px;
  min-height: 100vh;
  position: relative;
}





/* REPLACE the existing @media (min-width: 2560px) block with this tuned version */
@media (min-width: 2560px) {
  /* layout spacing - moderate, not extreme */
  .animation-layout {
    padding-top: 220px;
    padding-bottom: 300px;
    padding-left: 160px;
    padding-right: 160px;
    font-size: 1.08rem;
    max-width: 3200px;
    box-sizing: border-box;
  }

  .top-grid {
    height: 1400px;
    margin-bottom: 300px;
  }

  /* Purpose & Achievement widths */
  .text-block.purpose {
    left: -140px;
    width: 30%;
  }
  .text-block.achievement {
    right: -140px;
    width: 30%;
  }

  /* Subheads smaller and proportional */
  .text-block.purpose h3,
  .text-block.achievement h4,
  .text-block.achievement h5.objective-right,
  .approach-text-bottom h3 {
    font-size: 1.9rem; /* modest increase, not oversized */
    line-height: 1.05;
  }

  /* Body text unified with purpose text (kept moderate) */
  .text-block.purpose p,
  .text-block.achievement p,
  .approach-text-grid p,
  .screenshots-text p,
  .final-caption p,
  .slide-1 .text-block p,
  .slide-2 .center-paragraph,
  .slide-3 .left-text-block p,
  .slide-3 .center-right-text p {
    font-size: 1.00rem;
    line-height: 1.7;
  }





  /* --- Title image: smaller and moved up to avoid overflow at 2560px --- */
  /* keep horizontal relationship but reduce size and top offset */
  .title-image {
    width: 160%;    /* smaller than previous very large values */
    left: -90px;    /* keep negative offset but smaller than prior extremes */
    top: 80px;      /* moved up so it doesn't push content down at 2560px */
    max-width: calc(100vw); /* ensure it cannot exceed viewport width */
    object-fit: contain;
  }

  /* --- Storyboards: smaller and moved up; match screenshot sizing --- */
  .frame-item,
  .storyboard-item {
    max-width: 800px;   /* matches screenshot sizing at this breakpoint */
    width: 100%;
  }

  .storyboard-grid {
    right: -90px;    /* preserve page position */
    top: 320px;      /* moved up from previous larger values so page feels cohesive */
    width: 80%;
    column-gap: 100px;
    row-gap: 160px;
    justify-items: center;
    align-items: start;
  }

  .storyboard-item {
    width: 100%;
    aspect-ratio: 16/9;
  }

  .storyboard-image,
  .frame-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* --- Buildings: fill viewport width without tiling or causing scroll --- */
  .buildings-parallax {
    height: 950px;
    margin-top: -780px;
    margin-bottom: 260px;
    overflow: hidden;
  }
  .building-layer {
    background-size: 100% auto !important;   /* force width to match viewport */
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
  }

  /* center artwork moderate scaling so it doesn't overpower layout */
  .topsection { width: 82%; }
  .idiom-image { width: 1000px; top: -220px; }
  .rocky-image { width: 410px; left: 400px; top: -220px; }
  .pluck-image { width: 400px; left: -390px; top: -220px; }

  /* approach left column width */
  .approach-left { width: 74%; }

  /* final/video sizes */
  .final-showcase { margin-top: -220px; padding: 0 300px; margin-bottom: 300px; }
  .final-video-container { max-width: 2000px; }
  .final-caption p { font-size: 1.00rem; }

  .animation-bottom-spacer { height: 320px; }
}


/* Strong override (append to end of layout_styles.css)
   Smooth the 2559→2560 jump and force smaller title-image and storyboards
   tuned for 2560px. This only changes media rules and uses !important so it wins.
*/
@media (min-width:2500px) and (max-width:2800px) {
  /* layout spacing conservative */
  .animation-layout {
    padding-top: 200px !important;
    padding-bottom: 300px !important;
    padding-left: 160px !important;
    padding-right: 160px !important;
  }

  /* TITLE IMAGE — much smaller and higher on page at ultra-wide */
  .title-image {
    width: 120% !important;        /* reduce size */
    max-width: 100vw !important;   /* can't exceed viewport */
    left: -70px !important;        /* keep horizontal relation */
    top: 40px !important;          /* move up (smaller value) */
    transform: none !important;
    object-fit: contain !important;
  }

  /* STORYBOARDS — smaller & moved up; match screenshot visual size */
  .frame-item,
  .storyboard-item {
    max-width: 420px !important;   /* small, proportional size on 2560 */
    width: 100% !important;
  }

  .storyboard-grid {
    right: -60px !important;       /* keep original horizontal position */
    top: 160px !important;         /* move up significantly */
    width: 48% !important;
    column-gap: 48px !important;
    row-gap: 80px !important;
    justify-items: center !important;
    align-items: start !important;
  }

  .storyboard-image,
  .frame-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* Buildings: ensure no tiling and no horizontal overflow */
  .building-layer {
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
  }
  .buildings-parallax {
    height: 880px !important;
    margin-top: -740px !important;
  }

  /* Slightly reduce center artwork so it doesn't push things */
  .idiom-image { width: 900px !important; top: -210px !important; }
  .rocky-image { width: 360px !important; left: 320px !important; top: -210px !important; }
  .pluck-image { width: 350px !important; left: -340px !important; top: -210px !important; }
}



/* APPEND ONLY: stronger overrides to make title-image much smaller, move it up,
   make approach text narrower and higher, and make storyboards smaller and higher.
   Place this at the very end of layout_styles.css, after all other rules.
*/

/* ------- TUNE FOR >=1920px ------- */
@media (min-width: 1920px) {
  /* Title image: much smaller and moved up */
  .title-image {
    width: 100% !important;            /* scale down to viewport width */
    max-width: 820px !important;       /* explicit cap so it can't grow too large */
    left: -45px !important;            /* preserve horizontal relationship */
    top: 12px !important;              /* move up close to top of approach area */
    transform: none !important;
    object-fit: contain !important;
  }

  /* Approach: make subtitle + body match purpose format and be narrower + higher */
  .approach-text-bottom h3 {
    font-size: 1.6rem !important;      /* same scale as purpose subhead */
    margin-bottom: 18px !important;
  }
  .approach-text-grid {
    width: 68% !important;             /* make text column much narrower */
    left: 36px !important;
    top: 36px !important;              /* move the block up */
    gap: 48px !important;
  }
  .approach-text-grid > div {
    max-width: 100% !important;
  }
  .approach-text-grid p {
    font-size: 0.90rem !important;     /* same as purpose body */
    line-height: 1.7 !important;
  }

  /* Storyboards: smaller and moved higher, kept in same page position */
  .frame-item,
  .storyboard-item {
    max-width: 320px !important;       /* much smaller */
    width: 100% !important;
  }
  .storyboard-grid {
    right: -50px !important;           /* keep horizontal alignment */
    top: 140px !important;             /* move board grid up */
    width: 48% !important;
    column-gap: 40px !important;
    row-gap: 64px !important;
    justify-items: center !important;
    align-items: start !important;
  }
  .storyboard-item { aspect-ratio: 16/9 !important; }

  /* Ensure storyboard images fill their smaller containers */
  .storyboard-image,
  .frame-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Slightly nudge approach-left upwards so its content aligns with new positions */
  .approach-left {
    top: -30px !important;
  }
}

/* ------- TUNE FOR >=2560px (targeted for 2560px width) ------- */
@media (min-width: 2560px) {
  /* Title image: keep smaller (prevent sudden jump), and higher */
  .title-image {
    width: 110% !important;            /* a touch larger than 1920 but still small */
    max-width: 1100px !important;      /* explicit cap */
    left: -68px !important;
    top: 30px !important;              /* higher on the page */
    transform: none !important;
    object-fit: contain !important;
  }

  /* Approach text: narrower and higher, same format as purpose */
  .approach-text-bottom h3 {
    font-size: 2.0rem !important;
    margin-bottom: 20px !important;
  }
  .approach-text-grid {
    width: 56% !important;             /* narrower on ultra-wide screens */
    left: 40px !important;
    top: 32px !important;              /* move higher up the approach column */
    gap: 60px !important;
  }
  .approach-text-grid p {
    font-size: 1.05rem !important;     /* same as purpose body at this breakpoint */
    line-height: 1.75 !important;
  }

  /* Storyboards: keep them smaller than before and move them up */
  .frame-item,
  .storyboard-item {
    max-width: 520px !important;       /* controlled size for 2560 */
    width: 100% !important;
  }
  .storyboard-grid {
    right: -90px !important;
    top: 260px !important;             /* move grid higher than previous value */
    width: 72% !important;
    column-gap: 80px !important;
    row-gap: 120px !important;
    justify-items: center !important;
    align-items: start !important;
  }
  .storyboard-item { aspect-ratio: 16/9 !important; }

  .storyboard-image,
  .frame-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Nudge approach-left up a little to align with the higher title-image/text */
  .approach-left {
    top: -60px !important;
  }

  /* Keep building layers fitting the viewport */
  .building-layer {
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
  }
  .buildings-parallax {
    margin-top: -760px !important;
    height: 900px !important;
  }
}


/* Append: final tuned overrides — move content + buildings higher, tighten & shrink storyboards */

/* --------- >= 1920px --------- */
@media (min-width: 1920px) {
  /* move whole section up a touch */
  .animation-layout {
    padding-top: 160px !important; /* slightly less top space */
  }

  /* Title image: move higher and keep modest size */
  .title-image {
    top: -8px !important;       /* move up relative to approach column */
    left: -52px !important;
    max-width: 760px !important;
    width: 100% !important;
  }

  /* Pull approach block up so heading/text sit higher */
  .approach-left {
    top: -120px !important;
  }
  .approach-text-grid {
    top: 8px !important;        /* raise the text block toward the title image */
  }

  /* Move buildings higher so their top aligns closer to the characters */
  .buildings-parallax {
    margin-top: -780px !important;
  }

  /* Storyboards: smaller + closer together + moved up */
  .frame-item,
  .storyboard-item {
    max-width: 280px !important;   /* smaller frames */
    width: 100% !important;
  }

  .storyboard-grid {
    top: 120px !important;         /* move storyboard grid higher */
    right: -50px !important;
    width: 48% !important;
    column-gap: 28px !important;   /* tighten columns */
    row-gap: 42px !important;      /* tighten rows */
    justify-items: center !important;
    align-items: start !important;
  }
}




/* --------- >= 2560px --------- */
@media (min-width: 2560px) {
  /* reduce top padding to pull section up on ultra-wide */
  .animation-layout {
    padding-top: 100px !important;
  }

  /* Title image: smaller and higher */
  .title-image {
    top: -12px !important;        /* place even higher on page */
    left: -68px !important;
    max-width: 900px !important;
    width: 95% !important;
  }

  /* Pull approach column up */
  .approach-left {
    top: -160px !important;
  }
  .approach-text-grid {
    top: 12px !important;
  }

  /* Buildings sit higher */
  .buildings-parallax {
    margin-top: -1000px !important;
  }

  /* Storyboards: moderate size for ultra-wide but smaller than before, and tighter */
  .frame-item,
  .storyboard-item {
    max-width: 420px !important;
    width: 100% !important;
  }

  .storyboard-grid {
    top: -80px !important;        /* move higher */
    right: -90px !important;
    width: 50% !important;
    column-gap: 20px !important;  /* tighten */
    row-gap: 80px !important;     /* tighten */
    justify-items: center !important;
    align-items: start !important;
  }
}



/* Minimal fixes — append to end of layout_styles.css */

/* 1) Page background only (do not modify layout) */
html, body {
  background-color: #e8e8e8;
}

/* 2) Make the specific frost/grain pseudo-elements span their parent fully.
   These selectors match the ones you already use in the file. This prevents a visible side gap
   from those overlays while avoiding broad changes elsewhere. */
.landing-section::before,
.landing-section::after,
.navbar::before,
.contact-glass-panel::before,
.accordion-header::before,
.accordion-content::before {
  position: absolute;
  inset: 0;                     /* top:0; right:0; bottom:0; left:0; */
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  /* keep original background-image and other visual properties */
  pointer-events: none;
  box-sizing: border-box;
}

/* 3) Fix specific full-bleed elements that in your CSS used >100% widths
   (this prevents them from creating a tiny visible gap at very wide viewports).
   These are applied only to the elements I saw in your file. */
.screenshots-section,
.footPrints-container {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

/* 4) Buildings - ensure the parallax layers visually fill viewport width without tiling.
   This targets only .buildings-parallax children (animation section) so other backgrounds aren't affected. */
.buildings-parallax .building-layer {
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% auto; /* fill viewport width, preserve aspect ratio */
}

/* 5) Safety: cap any very wide background layers used in that section */
.buildings-parallax,
.buildings-parallax .building-layer {
  max-width: 100vw;
  overflow: hidden;
}



