.site {
  display: flex;
  flex-direction: column;
  background: var(--page-bg);
  padding: var(--page-pad);
  min-height: 100dvh;
}

body {
  background: var(--page-bg);
  padding-left: 1vw;
  padding-right: 1vw;
}

/* LOGO CAROUSEL ANIMATION */
@keyframes slide{
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.logo-scroller {
  flex: 0 0 auto;
  overflow: hidden;
  user-select: none;
  padding: 0.5dvh;
  border-top: 0.27vh solid #000;
  border-bottom: 0.27vh solid #000;
  white-space: nowrap;
}

.logo-scroller:hover .logos-slide{
  animation-play-state: paused;
}

.logos-slide {
  display: inline-block;
  padding-top: 0.4dvh;
  /* animation: 16s slide infinite linear;  */
  animation: 16s slide infinite steps(480); 
}

.logos-slide img {
  height: 7.25dvh;
  margin: 0 0.5dvw;
}

.main-area {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 2fr 1fr; 
  grid-template-rows: 0.5fr 1fr; 
  grid-template-areas: "hero  aside" "big  nav";
  gap: 1.5rem;
  align-items: stretch;
  width: 100%;
  margin: 0 auto;
  padding: 0.5em 0;
  box-sizing: border-box;
  /* display: grid;
  grid-template-columns: 2fr 1fr; 
  grid-template-rows: auto 1fr; 
  grid-template-areas: "hero  aside" "big  nav";
  gap: 1.5rem;
  align-items: start;
  width: 100%;
  margin: 0 auto;
  padding: 0.5rem 0; */
} 

/* .hero      { grid-area: hero; }
.lined     { grid-area: aside; }
.big-spin  { grid-area: big; }
.nav       { grid-area: nav; display: flex; flex-direction: column; gap: 1rem; align-items: stretch; } */
.hero      { grid-area: hero; display:flex; align-items: center; } /* center the title vertically */
.lined     { grid-area: aside; display:flex; align-items:center; }  /* let its inner .lined_content stretch */
.big-spin  { grid-area: big; display:block; }                      /* big image cell */
.nav       { grid-area: nav; display: flex; flex-direction: column; gap: 1rem; align-items: stretch; }

.hero .site-title {
  display: block;
  width: 100%;
  margin: 0;
  padding: 3.25rem 1rem;
  box-sizing: border-box;
  transform-origin: top;
  transform: scaleY(1.1);
  font-family: 'Frobo', sans-serif;
  font-size: clamp(8vw, calc(11.5vw + 2rem), 18vw);
  line-height: 0.9;
  /* border: 1px solid red; */
}


.lined {
  display: block;
  align-self: center;
  padding: 0 0rem;            
  box-sizing: border-box;
}

.lined_content {
  /* border: 1px solid red; */
  border: none;
}

.lined_text {
  margin-bottom: 2vh;
  font-family: 'bpdots';
  font-size: clamp(0.25vw, calc(0.475vw + 1rem), 5vw);
}

.for-desc {
  margin-bottom: 1.5vh;
  border: none;
  height: 3px;
  background-color: #000;
}

.big-spin {
  margin-top: -1.5vh;
  /* padding: 0.5em 0.5em; */
  align-self: stretch;
  display: block;
  width: 100%;
  max-height: 54dvh;
  overflow: hidden;
  /* border: 1px solid red; */
}

.big-spin img {
 width: calc(100% - 2vw);
 max-width: 100%; 
 height: 100%; 
 display: block;
 object-fit: fill;
}

.nav {
  border: 1px soliod red;
  margin-top: -1.5vh;
  align-self: center;
}

.nav .nav-btn {
  display: block;
  text-decoration: none;
  /* padding: 2.5rem 3rem; */
  padding: 3dvh 3dvh;
  font-family: 'bpdots', sans-serif;
  font-size: clamp(1rem, 4vw, 4rem);
  text-align: start;
  text-decoration: none;
  text-underline-offset: 2px;
  background: #000;             
  color: var(--text-green);        
  box-sizing: border-box;
  margin-bottom: 5vh;
}

.nav-btn:hover{
  /* color: white; */
  color: #C2FF26; 
}

/* small responsive tweak for narrow screens:
   stack the grid vertically on small viewports */
@media (max-width: 1160px) {
  .main-area {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    grid-template-areas:
      "hero"
      "aside"
      "big"
      "nav";
  }

  .nav { 
    flex-direction: column; 
    padding-top: 3dvh;
    gap: 0.5rem; 
    flex-wrap: wrap; 
  }

  .nav .nav-btn {
     flex: 1 1 48%; padding: 1rem; 
    }

    .hero .site-title {
      padding-bottom: 0;
    }

  .lined_text {
    text-align: center;
    font-size: clamp(0.25em, calc(0.475dvw + 2rem), 5em);
  }
}

@media (max-width: 1080px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.25em, calc(0.475dvw + 1.5rem), 5em);
  }
}

@media (max-width: 852px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.25em, calc(0.475dvw + 1.45rem), 5em);
  }
}


@media (max-width: 820px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.25em, calc(0.475dvw + 1.43rem), 5em);
  }
}

@media (max-width: 812px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.25em, calc(0.475dvw + 1.41rem), 5em);
  }
}

@media (max-width: 800px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.25em, calc(0.475dvw + 1.39rem), 5em);
  }
}

@media (max-width: 782px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.25em, calc(0.475dvw + 1.37rem), 5em);
  }
}

@media (max-width: 774px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.20em, calc(0.475dvw + 1.35rem), 5em);
  }
}

@media (max-width: 750px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.20em, calc(0.475dvw + 1.31rem), 5em);
  }
}

@media (max-width: 720px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.20em, calc(0.475dvw + 1.24rem), 5em);
  }
}

@media (max-width: 690px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.20em, calc(0.475dvw + 1.20rem), 5em);
  }
}

@media (max-width: 680px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.20em, calc(0.475dvw + 1.18rem), 5em);
  }
}

@media (max-width: 640px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.20em, calc(0.475dvw + 1.10rem), 5em);
  }
}

@media (max-width: 600px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.20em, calc(0.475dvw + 1.03rem), 5em);
  }
}

@media (max-width: 430px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.15em, calc(0.465dvw + 0.74rem), 5em);
  }
}

@media (max-width: 412px) {
  .lined_text {
    text-align: center;
    font-size: clamp(0.15em, calc(0.465dvw + 0.70rem), 5em);
  }
}