:root{
  --bg:#fcfcfc;
  --ink:#0c0c0c;
  --line:#000000;
  --caption-bg:#e9e9ea;
  --radius:16px;
  --thick:2px;
  --gap:22px;
}

@font-face {
  font-family: "Graphik Trial";
  src:
    local("Graphik Black Trial"),
    local("Graphik-Black Trial"),
    url("/fonts/Graphik-Black-Trial.otf") format("opentype");
  font-weight: 900;         /* Black = 900 */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src:
    
    url("Inter-Regular.otf") format("opentype");
  font-weight: 900;         /* Black = 900 */
  font-style: normal;
  font-display: swap;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background-color: rgb(0, 0, 0);
   font-family: "Inter", sans-serif;
color: #f3f3f3;
  line-height:1.35;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;  /* ⬅️ important */

}

.pill-btn {
  padding: 6px 25px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: rgb(0, 0, 0);
  font-size: 1.7rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  cursor: pointer;
  transition: all .2s ease;
  text-decoration: none;
  font-display: solid #ffffff; ;

  
}

.pill-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 0 #000;
    text-decoration: none;
  
}

.pill-btn:active {
  transform: translateY(0);
  box-shadow: none;
    text-decoration: none;
}

.menu-buttons {
  position: absolute;
  top: 35px;
  right: 130px;
  display: flex;
  gap: 20px;
  text-decoration: none;
    text-decoration: none;
    color: #e9e9ea;
}

.saba{
    position: absolute;
    width: 50%;
    left: 200px;
    top: 130px;
    animation: pulse 3s infinite ease-in-out;

}
@keyframes pulse {
  0% { transform: scale(0.9); }
  50% { transform: scale(1); }   /* grows to 110% */
  100% { transform: scale(0.9); }
 
}

.mockup{
    position: absolute;
    width: 80%;
    left: 200px;
    opacity: 0;
    

}
.place{
     position: absolute;
    width: 52%;
    left: 640px;
    top: 525px;
    animation: pulse 3s infinite ease-in-out;
    
}
.birth{
    position: absolute;
    width: 30%;
    left: 642px;
    top: 615px;
    animation: pulse 3s infinite ease-in-out;
}
.flower{
     position: absolute;
    width: 30%;
    left: 200px;
    animation: pulse 3s infinite ease-in-out;

}

.logo{
     position: absolute; 
    width: 20%;
    left: 930px;
    top: 270px;
 
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
}

.card{
  display:flex; flex-direction:column;
  background:#fff;
  border: var(--thick) solid var(--line);
  border-radius: var(--radius);
  overflow:hidden;
 
  transition: transform .08s ease-in-out, box-shadow .08s;
   padding: 0;
}

.media{
  position:relative;
  background:#f3f3f3;
  border-bottom: var(--thick) solid var(--line);
  margin: 0; 
  padding: 0;
}
.media img{
  width:100%;
  height:auto;             /* keep natural proportions */
  display:block;
  /* optional: object-fit: contain;  (not needed when height:auto) */
  width: 100%;
  height: auto; 
}
.caption{
  
  padding:8px 100px;
  font-size: 30px ;
  
  border-radius: 0;
font-family:Helvetica, sans-serif; /* not the filename */
                           /* must match @font-face */
  line-height: 1.05;
  color: #ffffff;
  font-weight: 550;
 background: rgb(0, 0, 0);

  

}

/* Optional small label inside image */
.tag{
  position:absolute; left:10px; bottom:10px;
  background:#06ff45; border: var(--thick) solid var(--line);
  border-radius:0px; padding:4px 8px; font-weight:800;
  font-size:14px;
  
}

/* Footer note */
.note{
  margin: 28px 0 10px; color:#6b6b6b; font-size:14px;
}

:root{
  --thick: 1.5px;          /* was 6px */
}
:root { --radius: 0px; }

.card.fit .media { aspect-ratio: auto; }   /* no forced 4/3 */
.card.fit .media img{
  width:100%;
  height:auto;             /* image sets the height */
  display:block;           /* removes inline gap */
  object-fit: contain;     /* safe, no cropping */
}
.card.fit .media { border-bottom: none; }
.card.fit .caption { border-top: var(--thick) solid var(--line); }
.grid { align-items: start; }   /* stop stretching rows */

.grid{
  column-gap: 0px;   /* was var(--gap) = 22px */
  row-gap: 5px;
  

}

/* Masonry with CSS columns */
.grid.masonry{
  display: block;            /* stop using CSS grid here */
  column-count: 3;           /* 3 columns on large screens */
        /* space between columns */
  position: relative;
  top: 750px;
  left: 100px;
  width: 85%;
  position: relative;
 
}

/* responsive column counts */
@media (max-width:699px){ .grid.masonry{ column-count: 1; } }
@media (min-width:700px) and (max-width:1099px){ .grid.masonry{ column-count: 2; } }
/* 1100px+ is the 3-col rule above */

.card{
  break-inside: avoid;       /* don’t split cards */
  display: inline-block;     /* needed in columns */
  width: 95%;
  margin: 0 0 10px;          /* vertical spacing between cards */
  text-decoration: none;
  left: 30px;
  z-index: -1;
    position: static;  
    
 
}



.spread{
    position: absolute;
    width: 90%;
    top: 2100px;
    left: 60px;
}

.calender{
    font-family: "inter", sans-serif;
    font-size: 25;
    z-index: 100;
    
    font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: white;
  width: 80%;
  margin: 150px auto;
  line-height: 1.2;

  z-index: 100;
  top: 2400px;
  position: absolute;
  left: 130px;
 
 
}

.h2{

   font-family: "inter", sans-serif;
    font-size: 20;
  margin: 0;

  
}



/* ===== MOBILE HERO FIX: show all elements nicely ===== */
@media (max-width: 699px) {

  /* make sure nothing is hidden */
  .saba,
  .mockup,
  .place,
  .birth,
  .flower {
    display: block;
  }

  /* use viewport-based sizes + positions so composition stays similar */
  .saba{
    position: absolute;
    width: 90vw;      /* big name */
    left: 5vw;
    top: 120px;
  }

  .flower{
    position: absolute;
    width: 50vw;
    left: 5vw;
    top: 100px;
  }

  .place{
    position: absolute;
    width: 55vw;
    left: 40vw;
    top: 360px;
  }

  .birth{
    position: absolute;
    width: 40vw;
    left: 12vw;
    top: 400px;
  }

  /* optional: hide mockup if it clutters, or keep it small */
  .mockup{
    position: absolute;
    width: 40vw;
    left: 55vw;
    top: 540px;
    opacity: 0;       /* or 0 if you don't want it */
  }

  /* menu buttons so they don't collide */
  .menu-buttons{
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    gap: 10px;
    z-index: 200;
  }

  .pill-btn{
    padding: 6px 16px;
    font-size: 1rem;
  }

  /* push the grid down so it starts after the collage */
  .grid.masonry{
    margin-top: 720px;   /* adjust if elements overlap */
    column-count: 1;
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    top: 400px;
  }
  .spread-section.spread .calender .calender h2 .calender p  {
    padding: 40px 0 60px;
    top: 4800px;
  left: 0;
  }

  .spread {
    width: 92%;
    margin-bottom: 18px;
  top: 4600px;
   left: 0;
  }

  .calender {
    max-width: 92%;
top: 4620px;
 left: 0;
 font-size: 20px;
 left: 30px;
 
  }

  .calender h2 {
    font-size: 26px;
  top: 4800px;
   left: 5px;
  }


}



.spread-section {
  width: 100%;
  padding: 80px 0 100px;
  box-sizing: border-box;
}

/* horizontal scroller only for material section */
.material-section {
  width: 100%;
  padding: 80px 0 80px;
  box-sizing: border-box;
  overflow-x: hidden;     /* page itself: no horizontal scroll */
}

/* the scrolling row */
.scroll-div {
  width: 100%;
  overflow-x: auto;       /* horizontal scroll here */
  overflow-y: hidden;
  white-space: nowrap;
  

}

/* items inside the scroller */
.scroll-div img,
.scroll-div .material,
.scroll-div .material1 {
  position: relative;       /* IMPORTANT: cancel old absolute */
  display: inline-block;
  width: auto;
  max-width: 45vw;        /* scale nicely on small screens */
  height: auto;
  margin-right: 0px;
  margin: 0px;


}
.scroll-div .material1{
    max-width: 43vw; 

}
.scroll-div .material{
    max-width: 54vw; 
     margin-bottom: -60px;
     margin-left: 0;
    
}
.material-section {
  width: 100%;
  padding: 80px 0 80px;
  box-sizing: border-box;
  overflow-x: hidden;
  margin-top: 1400px; /* ⬅️ pushes it further down — increase/decrease as needed */
}

.material{
     font-family: "inter", sans-serif;
    font-size: 25;
    
}


.material-text{

     font-family: "inter", sans-serif;
    font-size: 25;
    z-index: 100;
    
    font-family: "Inter", sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: white;
  width: 80%;
  margin: 150px auto;
  line-height: 1.2;

  z-index: 100;
  
  position: absolute;
  left: 130px;
   margin-top: -50px;

 
    
}
.grid-mansory  {
display: block;            /* stop using CSS grid here */
  column-count: 10;           /* 3 columns on large screens */
        /* space between columns */
  position: relative;
  
  left: 100px;
  width: 85%;
  position: relative;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  grid-template-rows: repeat(2, auto);   /* 2 rows */
  gap: 20px;                             /* space between images */
  width: 80%;                            /* adjust as you like */
  margin: 650px auto;                    /* center on page */
}

.image-grid img {
  width: 100%;           /* fill each grid cell */
  height: auto;          /* keep proportions */
  object-fit: cover;     /* crop nicely if needed */
  border-radius: 8px;    /* optional — rounded corners */
  display: block;
}

.small-scroll {
  width: 90%;               /* smaller than viewport */
  max-width: 100%;          /* never overflow page */
  height: 650px;            /* visible window height */
  margin: 0 auto;
  overflow-x: auto;         /* enable horizontal scroll inside only */
  overflow-y: hidden;
  white-space: nowrap;      /* keep images in one row */

  scroll-behavior: smooth;
  background-color: black;  /* matches your site */
  margin-right: 100px;
}

.small-scroll img {
  display: inline-block;
  height: 100%;
  width: auto;
  margin-right: 12px;
  object-fit: cover;
}


.third-scroll{
      width: 90%;               /* smaller than viewport */
  max-width: 100%;          /* never overflow page */
  height: 650px;            /* visible window height */
  margin: 0 auto;
  overflow-x: auto;         /* enable horizontal scroll inside only */
  overflow-y: hidden;
  white-space: nowrap;      /* keep images in one row */

  scroll-behavior: smooth;
  background-color: black;  /* matches your site */
  margin-right: 100px;
  margin-left: 20px;

}
.third-scroll img{
    display: inline-block;
  height: 80%;
  width: auto;
  margin-right: 100px;
  object-fit: cover;

}



.forth-scroll{

     width: 90%;               /* smaller than viewport */
  max-width: 100%;          /* never overflow page */
  height: 650px;            /* visible window height */
  margin: 0 auto;
  overflow-x: auto;         /* enable horizontal scroll inside only */
  overflow-y: hidden;
  white-space: nowrap;      /* keep images in one row */

  scroll-behavior: smooth;
  background-color: rgb(255, 255, 255);  /* matches your site */
  margin-right: 100px;
  margin-left: 20px;

}

.forth-scroll img{
      display: inline-block;
  height: 30%;
  width: 130%;
  margin-right: 0%;
  object-fit: cover;
}


.forth-scroll img.bridge {
  height: 70%;
  width: auto;
  margin: 40px;
  height: auto;
  width: auto;
  margin: 40px;
  object-fit: contain;
}

/* Remove default link colors for all pill buttons */
a.pill-btn,
a.pill-btn:visited,
a.pill-btn:hover,
a.pill-btn:active {
  color: #ffffff;             /* keep your white text */
  text-decoration: none;      /* no underline */
  background: rgb(0, 0, 0);   /* keep your black background */
  border-color: #ffffff;      /* keep your white border */
}


