/* ==============================
   RESET & ACCESSIBILITY
================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==============================
   BASE STYLES
================================ */
html {
  height: 100%;
  width: 90%;
  margin: 0 auto;
}

body {
  margin: 0;
  font-family: "Raleway", sans-serif;
  color: #ffffff;
  background-color: #e2eae6;
  overflow-x: hidden;
}

h1 {
  font-family: "Limelight", sans-serif;
  font-weight: 400;
  color: #fbb831;
  font-size: 40px;
  text-align: left;
  margin-left: 25px;
}

h2 {
  font-family: "Cutive Mono", monospace;
  font-weight: 400;
  font-style: normal;
  margin-left: 50px;
}

a {
  font-family: "Limelight", sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: rgb(27, 27, 27);
  text-decoration: none;
}

 #instagram-button {
     background: none;
     border: none;
     padding: 10px;
     margin: 0;
 }

 #instagram-logo {
     width: 30px;
     height: auto;
     transition: transform 0.3s;
 }

 #instagram-button:hover #instagram-logo {
     transform: scale(1.1) rotate(5deg);
 }

 footer {
     font-size: x-small;
     text-align: center;
     color: rgb(27, 27, 27);
     padding: 15px;
     margin-top: 100pt;
     width: 100%;
     text-align: center;
     padding: 3rem 2rem;
 }

/* ==============================
   HEADER & NAVIGATION
================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #e2eae6;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.5rem;
}

.nav-logo img {
  width: 120px;
  height: auto;
}

/* Nav links - common */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 15pt;
  transition: color 0.3s;
}

nav a:hover {
  color: #fbb831;
}

/* Dropdowns - common */
li.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fbb831;
  border-radius: 10px;
  min-width: 200px;
  box-shadow: 0 8px 10px rgba(27,27,27,0.7);
  flex-direction: column;
  z-index: 1000;
}

.dropdown-content a {
  color: #000;
  font-family: "Cutive Mono", monospace;
  font-weight: 400;
  font-style: normal;
  font-size: 11pt;
  padding: 0.5rem 1rem;
}

.dropdown-content a:hover {
  color: #fff;
  background-color: black;
  border-bottom: none;
}

/* Desktop nav */
@media(min-width: 861px) {
  nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
  }

  li.dropdown:hover .dropdown-content {
    display: flex;
  }

  #menu-toggle {
    display: none;
  }
}


/* Tablet & Mobile nav */
@media (max-width: 860px) {

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-logo img {
  width: 100px;
  height: auto;
  }

  .nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  #menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
  }

  #menu-toggle img {
    width: 40px;
    height: auto;
    display: block;
  }

  /* Mobile dropdowns */
  li.dropdown .dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    box-shadow: none;
    border-radius: 0;
  }

  li.dropdown.active .dropdown-content {
    display: flex;
    max-width: 80%;
  }

  .dropdown-content a{
    font-size: 9pt;
    padding-top:2px;
    padding-bottom: 2px;
    padding-left: 5px;
    padding-right: 5px;
  }

    nav ul {
    position: absolute;
    top: 50%;
    right: 60px;

    transform: translateY(-20%);
    display: none;
    flex-direction: column;
    align-items: flex-start;

    background-color: rgb(27,27,27);
    padding: 0.75rem 1rem;
    gap: 0.4rem;

    min-width: 100px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);

    z-index: 999;
  }

  nav ul.show {
    display: flex;
  }

  nav a {
    font-size: 9pt;
    padding: 0.25rem 0;
    white-space: nowrap;
  }

  h1{
    font-size: 30px;
    text-align: left;
    margin-left: 30px;
  }


}
@media (max-width: 768px) {
  .nav-logo img {
    width: 80px; 
    height: auto;
  }

  h1{
    font-size: 25px;
    text-align: left;
    margin-left: 10px;
  }

  h2{
    margin-left: 0px;
  }
}  * { box-sizing: border-box; margin: 0; padding: 0; }



  .scroll-container {
    height: 300vh;
    position: relative;
    background: #e2eae6;
  }

  .sticky-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
  }

  .logo-stage {
    width: min(900px, 92vw);
    aspect-ratio: 16/9;
    background: #e2eae6;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
  }



  /* =============================================
     LOGO LAYERS
     Each .logo-layer is a positioned <img> or <div>.
     Customize position/size with the inline styles
     on each element below.
     ============================================= */

  .logo-layer {
    position: absolute;
    /* shared transition — tweak duration/easing here */
    transition:
      opacity   0.65s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.75s cubic-bezier(0.4, 0, 0.2, 1),
      filter    0.65s;
    opacity: 0;
    will-change: transform, opacity;
  }
  .logo-layer.visible { opacity: 1; }


  /* --- LAYER 1: Figure (slides in from left) --- */
  #layer-1 {
    left: 0%;
    bottom: 0;
    height: 100%;
    width: auto;
    transform: translateX(-60px) scale(0.92);
    filter: blur(4px);
    transform-origin: bottom left;
  }
  #layer-1.visible { transform: translateX(0) scale(1); filter: blur(0); }

  /* --- LAYER 2: Main wordmark (drops in from top) --- */
  #layer-2 {
    right: 0%;
    top: 0%;
    width: 100%;
    height: auto;
    transform: translateY(-30px) scale(0.94);
    filter: blur(3px);
  }
  #layer-2.visible { transform: translateY(0) scale(1); filter: blur(0); }

  /* --- LAYER 3: Icon / tree (scales up) --- */
  #layer-3 {
    right: 0%;
    top: 0%;
    width: 100%;
    height: auto;
    transform: translateY(-20px) scale(0.7);
    filter: blur(3px);
    transform-origin: bottom center;
    transition-delay: 0.06s;
  }
  #layer-3.visible { transform: translateY(0) scale(1); filter: blur(0); }

  /* --- LAYER 4: Sub-wordmark (rises from below) --- */
  #layer-4 {
    right: 0%;
    top: 0%;
    width: 100%;
    height: auto;
    transform: translateY(20px);
    filter: blur(3px);
    transition-delay: 0.08s;
  }
  #layer-4.visible { transform: translateY(0); filter: blur(0); }

  /* --- LAYER 5: Badge / tagline (expands in) --- */
  #layer-5 {
    right: 0%;
    bottom: 0%;
    width: 100%;
    height: auto;
    transform: translateY(24px) scaleY(0.8);
    filter: blur(3px);
    transition-delay: 0.18s;
    transform-origin: center;
    background: #e2eae6;
  }
  #layer-5.visible { transform: translateY(0) scaleY(1); filter: blur(0); }

.mainlogo{
    text-align: center;
}
.mainlogo img{
    width: 900px; 
}

.identity{
    display:block;
    text-align: center;

}
.identity img{
    width:600px; 
    height: 100%;
    text-align: center;
}

.labels{
    display: block;
    text-align: center;
}
.labels img{
    max-width: 1200px;
    padding-bottom: 8px;
}

.mockups{
    text-align: center;
}

.mockups img{
    max-width: 1200px;
}

@media (max-width: 768px) {

  .logo-stage {
    width: 95vw;
  }

  .logo-layer {
    width: 90%;
  }
.labels img{
    max-width: 300px;
    padding-bottom: 8px;
}

.mockups img{
    max-width: 300px;
}

.identity img{
 max-width: 300px;
}
}