  /*
  1. Use a more-intuitive box-sizing model.
*/
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  /*
  2. Remove default margin
*/
  * {
    margin: 0;
  }

  /*
  Typographic tweaks!
  3. Add accessible line-height
  4. Improve text rendering
*/
  body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
      
  
  }



  /*
  6. Remove built-in form typography styles
*/
  input,
  button,
  textarea,
  select {
    font: inherit;
  }


 


  /* fonts */


  h1,h2,
  h3,
  p,
  nav,
  ul,
  body {

    color: #3c3c3c;

  }


p {
    line-height:normal;
    margin-bottom: auto;
 
}



h2, h3, p, ul, hr {
    width: 100%;
    
}
main h1, h2, h3 {
    text-align:left;
    margin-bottom: 1rem;
    font-weight: inherit;
    font-weight: 300;
}
h2, h3 {
    font-weight: 500;
}
  a,
  a:visited,
  a:hover {
    text-decoration: none;
    color: inherit;
  }

  header {
padding: 1.75rem;
  }


img {
    margin-bottom: 0;
    width: 100%;
}
img:last-child {
    margin-bottom: 0;
    float: left;
}

main a, main a:active, p a, p a:active {
    text-decoration: underline;
}
main a:hover, p a:hover {
    text-decoration: none;
}




hr {
  border: none;
  border-top: 1px solid #ccc; /* light grey */
  margin: 1rem 0 2rem 0;
}

main {
    padding: 0rem;
}


@media screen and (max-width: 720px) {
   header {
     padding: 0.75rem;
    }
 
}

.image-container {
  width: 100%;
  height: 100vh;
/*background: 
    linear-gradient(135deg, #d9d9d9 0%, #e6dfd6 100%),
    #f0f0f0;*/
    
    background: linear-gradient(135deg, #f3f3f3, #dcdcdc);
  
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    
background: linear-gradient(135deg, #f2eee6, #e3dbce);
    
    background: linear-gradient(135deg, #f4f6f8, #dfe3e6);
    

  
    
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 3rem 2rem;
    margin-bottom: 1px;
}



.image-container img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
    border-radius:0.15rem;

   
  box-shadow: 
    0 20px 30px rgba(0, 0, 0, 0.25);
  background-color: white;
  border: 0.01rem solid #eee;
  margin: 0;
  padding: 0;
}





/* Reset and base styles */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-size: 16px;
  font-family: 'Inter', "Helvetica Neue", Helvetica, Arial, sans-serif;
  
  line-height: 1.75;
  color: #222;
    letter-spacing: 0.015em; /* Loosen letters slightly */

}

html {
  scroll-behavior: smooth; /* for scroll back to top*/
}

/* Responsive typography */
body, h1, h2 {
  font-size: clamp(1rem, 2.5vw, 1.45rem);

    font-weight: 300;
}
h1, h2, h3, nav {
    font-weight: 300;
}
h2, h3 {
    font-weight: 700;
}

/* Mobile-specific tweaks */
@media (max-width: 600px) {
  body, h1, h2, h3 {
    line-height: 1.7;
  }
}

@media (max-width: 720px) {
  h2 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
  }
}

p, ul li {
  font-size: clamp(1rem, 1.2vw + 0.4rem, 1.25rem);
  line-height: 1.5;
  margin-bottom: 1.2em;
}


h2 {
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.4;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 0.35em;
  color: #222; /* or a soft black like #333 */
  font-family: 'Helvetica Neue', sans-serif; /* or your preferred modern clean font */
}

strong, h3 {
    font-weight: 400;
}


.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* exactly 3 columns */
  gap: 2rem;
     width: 100%;
  margin: 0 auto;
  padding: 30px;
    padding: 0;
    padding-top: 0;
  box-sizing: border-box;
    

}
    
/* For smaller screens (e.g. 600px and below), use 2 columns */
@media (max-width: 860px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr); /* 2 columns */
    gap: 1.5rem; /* optional: reduce gap on small screens */
    padding: 0px; /* optional: reduce padding */
  }
} 

/* For smaller screens (e.g. 600px and below), use 2 columns */
@media (max-width: 560px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    gap: 1rem; /* optional: reduce gap on small screens */
    padding: 0px; /* optional: reduce padding */
  }
} 

/* 4 columns on large screens */
@media (min-width: 860px) {
    
    body {
        /*padding-left: 7.5%;
        padding-right: 7.5%;*/
    }
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
      
  }
}

/* 4 columns on large screens */
@media (min-width: 1460px) {
     body {
      /* padding-left: 7.5%;
        padding-right: 7.5%;*/
    }
  .grid-container {
    grid-template-columns: repeat(4, 1fr);

  }
}



.grid-item {
  position: relative;
  background: linear-gradient(135deg, #f4f6f8, #dfe3e6);
  width: 100%;
  padding-bottom: 100%; /* height = width, makes square */
      padding-bottom: 140%; /* taller than square — adjust as needed */
      padding-bottom: 136%; /* taller than square — adjust as needed */
      padding-bottom: 140%; /* taller than square — adjust as needed */
  overflow: hidden;
}

/* Full-width grid item */
.grid-item--full {
  grid-column: 1 / -1; /* spans all columns */
}




.grid-item > img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74%;
  height: 74%;
  transform: translate(-50%, -50%) scale(1);
  object-fit: contain;
  cursor: pointer;
  
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
    
    transition: all 0.3s ease; /* or specify width and height */
}



/* Images fill the square with no shadow when parent grid-container has --fill class */
.grid-container--fill .grid-item > img {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  filter: none;
  transform: scale(1);
  transform-origin: center;
  transition: transform 0.3s ease;
}

@media (min-width: 99560px) { /*not on ANY  screen scale up */
.grid-container--fill .grid-item > img:hover {
  transform: scale(1.2); /* Scales image to 120% of its size from center */
}

.grid-item > img:hover{
    width: 100%;
  height: 100%;
}
}

@media (min-width: 0px) { /*not on smaller screen*/
.grid-container--fill .grid-item > img:hover,
.grid-item > img:hover
    {filter: brightness(1.1) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  /*transform: scale(1.05);*/
  
  /* Optional subtle shadow */
  /* box-shadow: 0 4px 8px rgba(0,0,0,0.2); */
}

}

/* should do somethign for touch screens */

.grid-item > img.clickable,
.grid-container--fill .grid-item > img.clickable {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0,0,0,0.1); /* subtle highlight */
}
.grid-item > img.clickable,
.grid-container--fill .grid-item > img.clickable:active {
  opacity: 0.8; /* slight dimming on tap */
}

/* end */

/* Lightbox styles */
.lightbox {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.lightbox img {
  max-width: 95vw;    /* maximum width = 90% of viewport width */
  max-height: 95vh;   /* maximum height = 80% of viewport height */
  width: auto;        /* let width scale automatically */
  height: auto;       /* let height scale automatically */
  border-radius: 0.05rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  object-fit: contain; /* ensures image fits inside max-width/height preserving aspect ratio */
}


/* Close button */
.close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.4);
    background: none;
  padding: 6px 12px;
  transition: background 0.3s ease;
    opacity: 0.6;
    background-color: rgba(255, 255, 255, 0.85);
}

.close-btn:hover {
     opacity: 1;
  /*background: rgba(0, 0, 0, 0.2);*/
    background-color: rgba(255, 255, 255, 0.95);
}

/* Lightbox navigation buttons */
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s ease;
  z-index: 10000; /* Above image */
    background: none;
    opacity: 0.6;
    background-color: rgba(255, 255, 255, 0.85);
}

.nav-btn:hover {
  /*background: rgba(0, 0, 0, 0.2);*/
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.95);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}


.social {
  width: 16px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.social img {
  display: block; /* Removes extra whitespace from inline images */
  width: 100%;
  height: 100%;
    padding-top: 6px;
    opacity: 0.65;
    transition: background 0.3s ease;
}
.social img:hover {
    opacity: 1;
    
}


.text-wrap {
    width: 100%;
    padding: 0 0.75rem;

    
}
@media (min-width: 720px) {
   .text-wrap, footer {
    /*max-width: 68ch;*/
    padding: 2rem 1.75rem;
/*margin: 0 auto;*/
    }
 
}


/* Base setup */
html, body {
  height: 100%;
  margin: 0;
}




/* Base footer styles */
footer {

  padding: 2rem 2rem;
  font-size: 0.9rem;
 
}
@media (max-width: 720px) {
    footer {

   padding: 1rem 1rem;
 
}
}


/* Instagram link image styling */
.instagram-link img {
  display: block;
  width: 20px;
  height: 20px;
  margin: 1rem 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;

}

.instagram-link img:hover {
  opacity: 1;
}


ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1.2em 0; /* matches p spacing if needed */
}

ul li {
  margin-bottom: 0.6em; /* vertical rhythm */
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.85);

    height: 120px;
}
@media (max-width: 720px) {
    header {
        height: 100px;
    }
}


.no-scroll {
  overflow: hidden;
}


.hero {
    padding: 2rem 2rem 4rem 2rem;
    width: 64ch;
    margin: 0 auto;
    display: block;

}

.home-pic {
    padding: 0 7.5% 2rem 7.5%;
    padding: 0;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    display: block;
}

@media (max-width: 720px) { 
.home-pic {
    padding: 0 0.5rem 1rem 0.5rem;
    }
}


/* navigation */

nav ul {
    list-style: none;
margin: 0;
    padding: 0
}

nav li {
        display: inline-block;
    margin-right: 0.5rem;
   
}

.sub {opacity: 0.65;
}
  nav .selected,
  nav a:hover {
    border-bottom: 1px solid black;
    padding-bottom: 2px;
  }



@media (min-width: 560px) {
    header h1{
        display: inline-block;
        
    }   
    
    header nav {
        display: inline-block;
        float: right;
    }
    nav li {
        display: inline-block;
    margin-right: 0rem;
        margin-left: 0.5rem;
   
}
    
}






 nav {
        text-align: right;
    }    
    .submenu {
        color: rgba(0, 0, 0, 0.39);
        font-size: 88%;
         margin-top: -10px;
    }
    .submenu .selected, .submenu a:hover {
        color: rgba(0, 0, 0, 1);
    
        text-decoration: none;
        border: 0;
    }
@media (max-width: 660px) { 
  
 nav {
     text-align: left;
     display: block;
     float: left;
     width: 100%;
     padding: 0;
    }
    
    nav {
        clear: right;
        display: inline-block;
    }
    
        nav li {
        display: inline-block;
    margin-left:0;margin-right: 0.25rem;
            padding-bottom: 0;
}
    .submenu {
        margin-top: -10px;
        font-size: 100%;
    }
    

}


@media (max-width: 720px) { 
      header::after {
  content: "";
  display: table;
  clear: both;
}
    h1 {
        margin-bottom: 0.75rem;
    }
}


header {


}
.text-wrap:first-of-type {
    padding-top: 0;
}
@media (max-width: 720px) { 
  .text-wrap {
    padding-top: 1rem;
}  
}

.square-layout {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 2rem;
    padding-right: 2rem;
    max-width: 1260px;
    margin: 0 auto;
  }

footer, .text-wrap {
    max-width: 1260px;
    
    margin: 0 auto;
}

@media (min-width: 1460px) {
    .square-layout, footer .text-wrap {
        max-width: 1360px;
    }
}

  .text {
    width: 64%; /* 2/3 */
    padding-left: 2rem; /* optional spacing */
    padding-right: 2rem;
      
    box-sizing: border-box;
  }

  .image {
    width: 36%; /* 1/3 */
    object-fit: cover;
    height: auto;
    display: block;
  }

  /* On mobile - hide image, text full width */
  @media (max-width: 720px) {
    .square-layout {
      flex-direction: column;
        padding-bottom: 0;
    }

    .text {
      width: 100%;
      padding: 0.75rem;
        padding-top: 0;
    }

    .image {
      display: none;
    }
  }




/* Add this to your stylesheet or inside a <style> tag */

.pulsate-time {
  animation: pulsate 2.5s ease-in-out infinite;
  transition: opacity 0.3s ease-in-out;
}

/* Customize keyframes for a calm but noticeable pulsation */
@keyframes pulsate {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
