/* ============================================
   GLOBAL OVERFLOW PREVENTION SYSTEM
   Nothing should EVER overflow horizontally.
   ============================================ */

/* Reset and Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  max-width: 100vw;
}

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 118px;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
}

/* GLOBAL IMAGE CONSTRAINT - images can NEVER exceed their container */
img {
  max-width: 100%;
  height: auto;
  pointer-events: none;
}

/* GLOBAL OVERFLOW GUARD - all divs, sections, and containers are constrained */
div, section, main, article, aside, figure, figcaption, footer, header, nav {
  max-width: 100%;
}

/* Catch-all for any element with inline width that exceeds viewport */
[style*="width"] {
  max-width: 100vw;
}

/* Project Button Hover */
.project-button {
  transition: all 0.15s cubic-bezier(0.42, 0, 0.58, 1);
  display: block;
  border: none;
  padding: 0;
  margin: 0;
  background: none;
  line-height: 0;
}

.project-button:hover {
  transform: scale(1.025);
}

.project-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  pointer-events: auto;
}

/* Project Card Responsive Styles */
.project {
  max-width: 100vw !important;
  box-sizing: border-box !important;
}

.project > div:first-child {
  max-width: 60% !important;
  width: 60% !important;
  min-width: 0 !important;
  flex-shrink: 1 !important;
  box-sizing: border-box !important;
}

.project > div:nth-child(2) {
  max-width: 40% !important;
  width: 40% !important;
  min-width: 0 !important;
  flex-shrink: 1 !important;
  box-sizing: border-box !important;
}

.project .project-button {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
}

.project a,
.project img {
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.project p,
.project div {
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
}

@media (max-width: 1023px) {
  .project {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100vw !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 80px 20px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .project > div:first-child {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .project > div:nth-child(2) {
    width: 100% !important;
    max-width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-rows: auto auto auto auto !important;
    padding-top: 10px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    gap: 0 !important;
  }

  .project > div:nth-child(2) > div:first-child {
    grid-row: 1 !important;
    grid-column: 1 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 !important;
    height: 52px !important;
    margin: 0 !important;
  }

  .project > div:nth-child(2) > div:first-child > div {
    line-height: 52px !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
  }

  .project > div:nth-child(2) > div:nth-child(2) {
    grid-row: 2 !important;
    grid-column: 1 / -1 !important;
    padding: 5px 0 !important;
    margin: 0 !important;
  }

  .project > div:nth-child(2) > div:nth-child(3) {
    grid-row: 3 !important;
    grid-column: 1 / -1 !important;
    padding: 5px 0 !important;
    margin: 0 !important;
  }

  .project > div:nth-child(2) > div:nth-child(4) {
    grid-row: 4 !important;
    grid-column: 1 / -1 !important;
    padding: 5px 0 !important;
    margin: 0 !important;
  }

  .project > div:nth-child(2) > div:last-child {
    grid-row: 1 !important;
    grid-column: 2 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 52px !important;
  }

  .project > div:nth-child(2) > div:last-child .button {
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    width: auto !important;
    min-width: 150px !important;
  }

  .project a {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .project img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 724 / 548;
    object-fit: contain !important;
    display: block !important;
  }

  .project .project-button {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }

  .project > div:nth-child(2) > div {
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .project > div:nth-child(2) > div > div,
  .project > div:nth-child(2) > div > p {
    width: auto !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    overflow: visible !important;
  }
}

@media (max-width: 767px) {
  .project {
    padding: 80px 20px !important;
  }

  .project > div:first-child {
    width: 100% !important;
    max-width: 100% !important;
  }

  .project > div:nth-child(2) {
    padding-top: 10px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* ============================================
   HIGHLIGHT CARDS - Shared responsive system
   Used on: g2g, renter-app, blankslaps (via bs-* aliases)
   
   Breakpoints:
   - Mobile (<=767px): 1 column, full width
   - Tablet (768-1023px): 2 columns, 1fr each
   - Desktop (>=1024px): 3 columns, 1fr each, max 1266px
   
   RULES: 
   - NEVER use fixed px widths on grid or cards
   - ALWAYS use 1fr columns so cards scale with viewport
   - ALWAYS use % or px padding on container, never on cards
   ============================================ */

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  gap: 10px;
  padding: 0 5%;
  width: 100%;
  box-sizing: border-box;
}

.highlight-card {
  border: 1px solid #bbb;
  border-radius: 32px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  background-color: white;
  width: 100%;
  min-height: 200px;
  box-sizing: border-box;
}

.highlight-icon {
  width: 35px;
  height: 41px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-icon img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.highlight-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 32px;
  letter-spacing: -0.56px;
  color: #272727;
  width: 100%;
  height: auto;
  white-space: pre-wrap;
  margin: 0;
}

.highlight-text-gray {
  color: #858585;
  letter-spacing: -0.32px;
}

@media (min-width: 768px) {
  .highlight-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 40px 5%;
  }

  .highlight-card {
    min-height: 280px;
  }

  .highlight-text {
    font-size: 24px;
    line-height: 34px;
  }

  .highlight-icon {
    width: 40px;
    height: 47px;
  }
}

@media (min-width: 1024px) {
  .highlight-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 11px;
    padding: 0 5%;
    max-width: 1266px;
    margin: 0 auto 78px;
  }

  .highlight-card {
    min-height: 321px;
  }

  .highlight-icon {
    width: 48.582px;
    height: 56.851px;
  }

  .highlight-text {
    font-size: 28px;
    line-height: 38px;
  }
}

/* Other Projects Grid */
.other-projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  padding: 0 5%;
}

.other-projects-grid .project-button {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.other-projects-grid .project-button img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .other-projects-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Typography */
.font-extralight {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
}

.font-light {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

.font-regular {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.font-medium {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

.font-semibold {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.italic {
  font-style: italic;
}

/* Layout */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-center {
  justify-content: center;
}

.justify-end {
  justify-content: flex-end;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.overflow-hidden {
  overflow: hidden;
}

.overflow-clip {
  overflow: clip;
}

/* Common Components */
.header {
  display: flex;
  align-items: center;
  overflow: clip;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: transparent;
}

.header-logo-container {
  display: flex;
  flex-direction: column;
  height: 118px;
  align-items: center;
  justify-content: center;
  overflow: visible;
  padding: 29px 47px;
  width: 181px;
}

.header-logo {
  height: 49.06px;
  overflow: visible;
  width: 100%;
  position: relative;
}

.header-logo a {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.1s ease-in-out, opacity 0.1s ease-in-out;
}

.header-logo a:hover {
  transform: scale(1.025);
  opacity: 0.8;
}

.header-logo-img {
  position: absolute;
  height: 49.06px;
  width: 87.088px;
  left: calc(50% + 0.04px);
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
}

.footer {
  display: flex;
  flex-direction: column;
  height: 130px;
  align-items: center;
  justify-content: center;
  padding: 40px 5%;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  justify-content: center;
  line-height: 22px;
  font-style: normal;
  color: #1e1e1e;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
}

.footer-content p {
  margin: 0;
}

.footer-content p:last-child {
  margin-bottom: 0;
}

.footer-content a {
  color: inherit !important;
  text-decoration: none !important;
}

.footer-content a:hover {
  text-decoration: underline !important;
}

/* Buttons */
.button {
  border: 1px solid;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 34px;
  border-radius: 35px;
}

.button-orange {
  border-color: #ff7f15;
}

.button-gray {
  border-color: #464646;
}

.button-text {
  display: flex;
  flex-direction: column;
  height: 54px;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-style: normal;
  font-size: 17.83px;
  text-align: center;
  width: 100%;
  line-height: 35.778px;
  white-space: pre-wrap;
}

.button-text-orange {
  color: #ff7f15;
}

.button-text-gray {
  color: #464646;
}

.button-text-gray p {
  text-decoration: none;
}

.button-text-gray:hover p {
  text-decoration: underline;
}

/* HR Divider */
.hr {
  width: 100%;
  max-width: 1223px;
  height: 1px;
  position: relative;
  background-color: #bbbbbb;
  margin: 78px auto;
}

/* Text Styles */
.text-center {
  text-align: center;
}

.whitespace-pre-wrap {
  white-space: pre-wrap;
}

.whitespace-nowrap {
  white-space: nowrap;
}

/* Project Cards */
.project-card {
  border: 1px solid #bbbbbb;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 321px;
  padding: 30px;
  border-radius: 32px;
  width: 361px;
}

.project-icon {
  height: 56.851px;
  width: 48.582px;
  position: relative;
}

.project-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  height: 153px;
  line-height: 38px;
  font-style: normal;
  color: #272727;
  font-size: 28px;
  letter-spacing: -0.56px;
  width: 274px;
  white-space: pre-wrap;
}

.project-text-gray {
  color: #858585;
  letter-spacing: -0.32px;
}

/* Textbox Styles */
.textbox-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 78px 166px;
}

.textbox-large-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 60px;
  font-style: normal;
  font-size: 38.286px;
  width: 944px;
  white-space: pre-wrap;
}

.textbox-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 166px;
}

.textbox-mobile-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 29px;
  font-style: normal;
  font-size: 21px;
  width: 351px;
  white-space: pre-wrap;
}

/* Color Variables */
:root {
  --color-orange: #ff7f15;
  --color-blue: #149ce0;
  --color-green: #3eb73e;
  --color-mid-gray: #464646;
  --color-dark-gray: #1e1e1e;
  --color-light-gray: #858585;
  --color-border: #bbbbbb;
  --color-bg-light: #f9f9f9;
  --color-bg-white: #ffffff;
  --color-super-light-gray: #f7f7f7;
}

/* ============================================
   PAGE CONTAINER - Shared across all case study pages
   ============================================ */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow-x: clip;
}

/* ============================================
   TEXTBOX - Shared text section container
   Used on: g2g, renter-app, stake
   ============================================ */
.textbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: clip;
  width: 100%;
  padding: 78px 5%;
  position: relative;
  z-index: 2;
}

/* STYLE 1a: Big intro text (first text on each case study) */
.textbox-big,
.bs-light {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  line-height: 72px;
  font-size: 48px;
  color: #404040;
  width: 100%;
  max-width: 944px;
  margin: 0;
  white-space: normal;
}

/* STYLE 1b: Light narrative/body text (g2g style) */
.case-study-text,
.textbox-text {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 62px;
  font-size: 38.286px;
  color: #404040;
  width: 100%;
  max-width: 944px;
  margin: 0;
  white-space: normal;
}

/* ============================================
   SECTION BUTTON - Pill header wrapper
   Used on: g2g, renter-app, stake
   ============================================ */
.section-button {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: clip;
  padding: 35px 5%;
  width: 100%;
}

.section-button > div {
  align-items: center !important;
}

/* ============================================
   BUTTON PILLS - Color variants
   ============================================ */

/* Blue pill (renter-app, stake) */
.button-blue {
  border: 1px solid #149ce0;
  border-radius: 35px;
  padding: 10px 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
}

.button-text-blue {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 17.83px;
  line-height: 35.778px;
  color: #149ce0;
  text-align: center;
  margin: 0;
}

/* Green pill (blankslaps) */
.button-green {
  border: 1px solid #3eb73e;
  border-radius: 35px;
  padding: 0 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.button-text-green {
  display: flex;
  flex-direction: column;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  height: 54px;
  justify-content: center;
  line-height: 35.778px;
  font-size: 17.83px;
  color: #3eb73e;
  text-align: center;
  width: 100%;
  white-space: pre-wrap;
  margin: 0;
}

/* ============================================
   CASE STUDY TYPOGRAPHY
   4 text classes used across all case study pages:
   
   1. .case-study-text     — Light intro/narrative text (g2g style)
      Aliases: .textbox-text, .bs-light
   
   2. .case-study-heading  — Bold section heading (e.g. "Problem", "Solution")
      + .case-study-body   — Regular body text below headings
      Aliases: .case-heading/.stake-heading/.bs-heading
               .case-body/.stake-body/.bs-body/.bs-regular
   
   3. .image-title         — Centered title above images/charts
   
   4. .image-subtext       — Small subtext below images
   ============================================ */

/* STYLE 1: Light narrative text (g2g style) */
/* Already defined above as .textbox-text / .bs-light */

/* STYLE 2a: Bold section heading */
.case-study-heading,
.case-heading,
.stake-heading,
.bs-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 22.83px;
  height: 68px;
  display: flex;
  align-items: center;
  color: #1e1e1e;
  width: 100%;
  max-width: 944px;
  margin: 0;
}

/* STYLE 2b: Regular body text (below headings) */
.case-study-body,
.case-body,
.stake-body,
.bs-body,
.bs-regular {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 27.29px;
  line-height: 70px;
  color: #1e1e1e;
  width: 100%;
  max-width: 944px;
  margin: 0;
}

/* STYLE 3: Title above images/charts */
.image-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 22.83px;
  color: #1e1e1e;
  margin: 0;
  text-align: center;
}

/* STYLE 4: Subtext below images */
.image-subtext {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: #404040;
  margin: 0;
  text-align: left;
}

/* Case text section wrapper */
.case-text-section,
.stake-text-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 78px 5%;
  width: 100%;
  gap: 10px;
}

/* Screenshot container */
.screenshot-container {
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  width: 90%;
  max-width: 1196px;
  height: auto;
  aspect-ratio: 1196/709;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

/* ============================================
   RESPONSIVE - Container, textbox, section-button, typography
   ============================================ */
@media (max-width: 1023px) {
  .textbox-big,
  .bs-light {
    font-size: 38px;
    line-height: 58px;
  }

  .case-study-text,
  .textbox-text {
    font-size: 32px;
    line-height: 50px;
  }

  .section-button {
    padding: 30px 20px;
    align-items: center;
  }

  .case-study-heading,
  .case-heading,
  .stake-heading,
  .bs-heading {
    font-size: 20px;
    line-height: 50px;
  }

  .case-study-body,
  .case-body,
  .stake-body,
  .bs-body,
  .bs-regular {
    font-size: 24px;
    line-height: 60px;
  }

  .image-title {
    font-size: 20px;
  }

  .screenshot-container {
    width: 90%;
    aspect-ratio: 704/418;
  }
}

@media (max-width: 767px) {
  .textbox {
    padding: 40px 5%;
  }

  .textbox-big,
  .bs-light {
    font-size: 28px;
    line-height: 44px;
  }

  .case-study-text,
  .textbox-text {
    font-size: 24px;
    line-height: 40px;
  }

  .section-button {
    padding: 34px 20px;
    align-items: center;
  }

  .case-text-section,
  .stake-text-section {
    padding: 40px 5%;
  }

  .case-study-heading,
  .case-heading,
  .stake-heading,
  .bs-heading {
    font-size: 18px;
    line-height: 40px;
  }

  .case-study-body,
  .case-body,
  .stake-body,
  .bs-body,
  .bs-regular {
    font-size: 20px;
    line-height: 50px;
  }

  .image-title {
    font-size: 18px;
  }

  .image-subtext {
    font-size: 12px;
    line-height: 18px;
  }

  .screenshot-container {
    width: 90%;
    aspect-ratio: 353/209;
  }
}

@media (min-width: 1024px) {
  .section-button {
    padding: 40px 10%;
    max-width: 1266px;
    margin: 0 auto;
  }

  .textbox {
    padding: 78px 0;
    max-width: 1266px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

  .textbox-big {
    font-size: 48px;
    line-height: 72px;
    width: 100%;
    max-width: 944px;
  }

  .case-study-text,
  .textbox-text {
    font-size: 28px;
    width: 100%;
    max-width: 944px;
  }
}

/* ============================================
   IMAGE LAYOUT SYSTEM - Shared across all pages
   ============================================ */

/* Single centered image container */
.image-container {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 78px 5%;
  box-sizing: border-box;
}

/* Full-bleed container — stretches edge-to-edge with 120px vertical padding */
.full-bleed {
  align-self: stretch !important;
  width: 100% !important;
  padding-top: 120px !important;
  padding-bottom: 120px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Full-width image container (edge-to-edge, explicitly opt-in) */
.image-container-full {
  display: flex;
  justify-content: center;
  width: 100% !important;
  padding-top: 78px;
  padding-bottom: 78px;
  padding-left: 0;
  padding-right: 0;
  align-self: stretch !important;
}

/* 2-column image grid (default), becomes 3-col on desktop */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 1200px;
  width: 100%;
  padding: 0 5%;
  box-sizing: border-box;
}

/* 2x2 image grid */
.image-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 1200px;
  width: 100%;
  padding: 0 5%;
  box-sizing: border-box;
}

/* 2-column flex layout */
.image-grid-2col {
  display: flex;
  gap: 10px;
  padding: 10px 5%;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* Grid items */
.image-grid-item {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden;
}

.image-grid-item.portrait {
  aspect-ratio: 4/5;
}

.image-grid-item.portrait img {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
}

.image-grid-item.square {
  aspect-ratio: 1;
}

/* Image placeholder */
.image-placeholder {
  background-color: #d9d9d9;
  border: 1px solid #ddd;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  color: #999;
  font-size: 16px;
}

/* Image utility classes */
.img-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-block {
  display: block;
  width: 100%;
  height: 100%;
}

/* Image layout responsive - tablet */
@media (max-width: 1023px) {
  .image-container {
    padding: 40px 5%;
  }

  .image-grid-2x2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .image-grid-2col {
    flex-direction: column;
    align-items: center;
    padding: 40px 5%;
    gap: 20px;
  }
}

/* Image layout responsive - mobile */
@media (max-width: 767px) {
  .image-grid {
    gap: 5px;
  }

  .image-grid-2col {
    gap: 10px;
    padding: 0 5%;
  }
}

/* Image layout responsive - desktop */
@media (min-width: 1024px) {
  .image-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 10px;
    padding: 0 5%;
    max-width: 1216px;
    margin: 0 auto;
  }

  .image-grid-2x2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 5%;
    max-width: 1216px;
    margin: 0 auto;
  }

  .image-grid-2col {
    gap: 10px;
    padding: 10px 5%;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* ============================================
   FADE-UP VIEWPORT ANIMATION
   Elements with .fade-up start invisible and
   translate up 30px. When they enter the viewport,
   .fade-up.visible is applied to reveal them.
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.33, 0, 0.67, 1),
              transform 0.6s cubic-bezier(0.33, 0, 0.67, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children when needed */
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Utility Classes */
.mb-0 {
  margin-bottom: 0;
}

.list-disc {
  list-style-type: disc;
}

ul {
  padding-left: 0;
}

li {
  margin-left: 31.5px;
}
