/* Base styles */
:root {
  --bg: #697d4b;
  --text: #ffffff;
  --muted: #a0a6b3;
  --accent: #7cc6ff;
  --accent-2: #ffb86b;
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "gotham-book", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

/* Locomotive container must control overflow */
[data-scroll-container] {
  overflow: hidden;
}


@font-face {
  font-family: 'gotham-book';
  src: url('fonts/gotham-book-webfont.woff2') format('woff2'),
      url('fonts/gotham-book-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}


@font-face {
  font-family: 'gotham-medium';
  src: url('fonts/gotham-medium-webfont.woff2') format('woff2'),
      url('fonts/gotham-medium-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

.site-header {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(124,198,255,0.25), transparent 60%),
    url('../images/leaves_bg.png');
  /* Keep gradient as-is; scale image proportionally to full height */
  background-size: auto, auto 100%;
  background-position: center -10%, center;
  background-repeat: no-repeat, no-repeat;
  position: relative;
}

/* Hero grid */
.hero-grid {

  width:100%;
  margin:3% 6%;


  /* background:greenyellow; */

}
.hero-grid__left {
  width:100%;
margin:0 auto;
}


.hero-grid__bottom { 
  padding:20px 0;  
  margin:0 auto; 
    width:100%;}



.hero-line--1 { 

  animation-delay: 0.1s;

}

.hero__text {font-size:2.1vw; font-weight: 600; letter-spacing: 0.35em; text-align: justify;}

.hero__text:after {
  content: "";
  display: inline-block;
  width: 100%;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.hero-grid__right img {width:auto; height:100vh}

/* Inline label next to ROAD */
.hero-line-row { display: flex; align-items: center; gap: 1rem; }
.hero-notes_desktop {  margin-left:10px; line-height:0; display:block !important}
.hero-notes_mobile {  margin-left:10px; line-height:0; display:none}
.hero-note_desktop img {

max-width:25vh; min-width:25vh
}

.headline-small-text-desktop {
  width: 400px !important; 
  height: 120px !important;
  padding: 30px 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  clip-path: inset(100% 0 0 0);
  animation: desktopReveal 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  animation-delay: 1s;
  opacity: 1; /* Ensure element is visible */
  display: block !important;
}

@keyframes desktopReveal {
  from {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
  }
  to {
    clip-path: inset(0% 0 0 0);
    opacity: 1;
  }
}

.team__info {font-size:3.0vh; line-height:2.2rem;}




.section__1__outer {position:absolute; display:flex; flex-direction: row; width:calc(100% - 8rem); margin:0rem 4rem ; height:86vh }
.section__1__inner__left { flex: 0 0 89%; margin-right:5%}


.section__1__inner__right { 

  height: 100%;
  box-sizing: border-box;
flex: 0 0 6%; 
text-align: right;
overflow: hidden;
}

.section__1__inner__right__label {



  /* background-color: purple; */
  width:100px;
  height:100%;
  display:flex; align-items: center; justify-content: center;


}

/* .side-label {
  position: fixed;
  top: 50vh;
  right: 60px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform-origin: right center;
  height: auto;
  max-height: none;
  padding: 0;
  margin: 0;
  font-size: 2.45vh;
  letter-spacing: 0.5em;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  z-index: 10;
  background: transparent;
  text-align: justify;

} */




.site-header h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin: 0 0 .5rem;
}
.site-header p {
  color: var(--muted);
  margin: 0;
}

.panel {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.25rem;
}
.panel__inner {
  max-width: 900px;
}
.panel h2 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin: 0 0 .75rem;
}
.panel p {
  color: var(--text);
  font-size: 2.3vh;
  line-height:2.6vh;
  margin: 0;
  font-weight:400
}

ul.gallery__caption-text-list {
  font-size: 2.3vh;
  line-height:2.6vh;
}

ul.gallery__caption-text-list li {
margin:20px 0
}

.panel--one {
  background: transparent;
  position: relative;
  z-index: 2;
}
.panel--two {
  background: linear-gradient(180deg, rgba(255,184,107,0.08), transparent 40%);
}
.panel--three {
  background: linear-gradient(180deg, rgba(124,255,192,0.06), transparent 40%);
}

.site-footer {
  padding: 3rem 4rem 3rem;
  text-align: center;
  color: var(--text);
}

/* Email link hover animation */
.email-link {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}

.email-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #edc246;
  transition: width 0.4s ease;
}

.email-link:hover::after {
  width: 100%;
}

/* Single footer heading lazy reveal */
.footer-reveal {
  opacity: 0;
  /* start lower so the upward motion is more pronounced */
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.footer-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Footer reveal on scroll */


.footer-wrapper {width:100%}
.footer-inner {width:100%; }
.footer-content {display:flex; flex-wrap: wrap;}
.footer__full {flex: 0 0 100%; text-align: left;}
.footer__left {flex: 0 0 38%; margin-right:1%;  text-align: left;}
.footer__right {flex: 0 0 22%;  text-align: right; display:flex; align-items:flex-end; justify-content:flex-end; padding-bottom:30px; margin-top:3em}
.footer__right img { display:block; }


.footer__logo__outer.two {padding-top:28px}

.footer__full h3 {
  font-size: 3.5vh;
  letter-spacing: 0.3em;
  font-weight: 600;
}
.footer__full h4 {
  font-size: 2.5vh;
  letter-spacing: 0.1em;
  line-height: 1.3rem;
  font-weight: 500;
}



/* Optional: make selection pretty */
::selection {
  background: rgba(124,198,255,0.35);
}


.footer__logo__kf {width:auto; height:90px;}
.footer__logo__dtre {width:auto; height:60px; }
.footer__logo__railpen {width:auto; height:80px;}

/* Gallery styles */
.gallery {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none; /* don't block scroll */
}
.gallery__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  width: 100%;
  height: 100%;
}
.gallery__slides {
  display: flex;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  height: 100%;
}
.gallery__slide {
  position: relative;
  isolation: isolate;
  min-width: 100%;
  min-height: 100%;
  user-select: none;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.gallery__badge {
  position: absolute;
  left: 0rem;
  bottom:0rem;
  height: 8vw;
  width: auto;
  pointer-events: none;
  opacity: 1;
  transform: none;
  transition: none;
}

.gallery__badge.is-visible { opacity: 1; transform: none; }





/* Blend layer */
.gallery__caption-wrap { position: absolute; top: 0; right: 0; }
.gallery__caption { position: absolute; inset: 0; background: #4b5a26; mix-blend-mode: multiply; border-radius: 0; z-index: 3; opacity: 0.9; }
.gallery__caption-text { position: relative; padding: 2.1rem 3.5rem 2.1rem 2.1rem; z-index: 4; color: #fff; }




.gallery__caption > * {
  position: relative;
  z-index: 1;
}
.gallery__caption h3 {
  margin: 0 0 .5rem;
  font-size: 1.25rem;
  font-weight: 700;
}
.gallery__caption p {
  margin: 0;
  line-height: 1.9rem;
}

.gallery__caption .word { opacity: 1; display: inline; }





.gallery__nav {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  pointer-events: none; /* container none, buttons re-enable */
  z-index: 3;
}
.gallery__btn {
  pointer-events: auto; /* clickable */
  border: 0;
  background: #213725; /* green base */
  opacity: 0.8;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 200ms ease;
}
.gallery__btn:hover { background: rgba(10, 12, 16, 0.7); }
.gallery__btn svg { width: 24px; height: 24px; }

.gallery__dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  justify-content: center;
  z-index: 3;
  pointer-events: auto;
}
.gallery__dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 200ms ease;
}
.gallery__dot:hover { background: rgba(255,255,255,0.6); }
.gallery__dot--active { background: #ffffff; }


.small__text {
  font-size: 1.3vh;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 0.9rem;
  padding-top:20px;
  text-align:justify
}

@media (min-width: 1729px) {
  .team__info {
    font-size: 3.2vh;
    line-height: 2.4rem;
}

.footer__full h4 {

  line-height: 1.7rem;

}
}

@media (max-width: 1366px) {
   
      
  .team__info {font-size:2.5vh; line-height:1.8rem }

  .footer__full h4 {
    font-size: 2.5vh;
    line-height: 1.6rem;
}

}

@media (max-width: 1024px) and (orientation: portrait) {
  
  .panel {
    min-height: auto;
    padding: 0;
  }
  
  .panel--one {
    padding: 0;
    min-height: 60vh;
    position: relative;
  }

  .gallery__slides {
    height: 60vh;
}

.team__info {
 line-height: 2.7rem;
}

.gallery__nav {height:60vh}

.footer__full h4 {
  font-size: 2.5vh;
  line-height: 2.4rem;
}

.footer__right {flex:0 0 100%}
.footer__left { margin-right:0px; flex:0 0 100%}
}
  

@media (max-width: 1024px) and (orientation: landscape) {
  .footer__logo__kf {
    height: 80px;
}

.footer__logo__dtre {
  height: 50px;
}

.footer__logo__outer.two {
  padding-top: 25px;
}

.footer__full h4 {
  line-height: 1.4rem;
}

.team__info {
  line-height: 1.6rem;
}
}

@media (max-width: 768px) {
  .footer__full h4 {
    font-size: 2.3vh;
    line-height: 1.4rem;
}

.team__info {
  font-size: 2.3vh;
  line-height: 1.4rem;
}

.site-footer {
  padding: 1rem 2rem 1rem;
}

.footer__right {
padding-top:30px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-bottom: 30px;
}

.gallery__caption-wrap {
 
  width: 60vw;
}

.gallery__caption-text {
padding: 1.5rem 2rem 2rem 1.5rem;
}
.gallery__caption-text p br {display:none}
ul.gallery__caption-text-list li br {display:none}
}