
:root {
  --blue: #144874;
  --green: #4AA84C;
  --grey: #2C3237;
  --light: #626968;
  --lighter: #D6D7D8;
  --dark: #1B1D20;
  --white: #FFFFFF; 
  --black: #000000; 
}


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

body{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5;
  color:var(--white);
  background-color:var(--grey);
}

img{
  border: 0;
  max-width:100%;
}

a{
  text-decoration: none;
  cursor:pointer;
  transition:.7s color, .7s background-color, .3s opacity;
  color:var(--primary);
}
a:focus{
  outline: none;
}
a:hover, .button:hover{
  color: var(--secondary); 
  transition:.3s color, .3s background-color, .3s opacity;
}

h1{
  color:var(--white);
  font-weight: 700;
  font-size: 5rem;
  line-height:1;
}

h2{
  font-size: 3rem;
  line-height: 1.2;
}


h3{
  font-size: 2rem;
  line-height: 1.2;
  margin-top: 40px;
  margin-bottom: 10px;
}
h3 img{
  height: 25px; 
  margin-right: 5px; 
}


h4{
  font-size: 1.2rem;
  font-weight: 600;
  margin: 30px 0 5px 0;
}

h3:first-child, h4:first-child{
  margin-top:0;
}

p{
  margin-bottom: 15px;
}
p:last-child{
  margin-bottom:0;
}

ul, ol{
  margin: 0 0 15px 30px;
}

.large{
  font-size: 1.2rem;
}
.small{
  font-size: 0.8rem;
  line-height: 1.6;
}

.light{
  font-weight:300;
}
.semi{
  font-weight: 600;
}
.bold, b{
  font-weight: 700;
}

.uppercase{
  text-transform: uppercase;
}

.clear{ clear: both; }

.container{
  margin: 0 auto;
  width: 96%;
  max-width: 1400px;
  position:relative;
}
.container.narrow{
  max-width: 850px;
}
.container.wide{
  max-width:100%;
  width:100%;
  padding-left: 25px;
}

.flex{
  display:flex;
}
.flex.wrap{
  flex-wrap:wrap;
}
.flex.end{
  align-items:flex-end;
}
.flex.vert{
  align-items:center;
}
.flex .full{
  width: 100%;
}
.flex .half{
  width: 47%;
  margin-right: 6%;
}
.flex .half:nth-child(2n+2){
  margin-right:0;
}

.flex .third{
  width: 32%;
  margin-right: 2%;
}
.flex .third:nth-child(3n+3){
  margin-right:0;
}

.flex.swap{
  flex-direction: row-reverse;
}

.flex.swap .half{
  margin-right:0;
  margin-left:6%;
}
.flex.swap .half:nth-child(2n+2){
  margin-left:0;
}

.grid-5{
  display: grid;
  grid-template-columns: repeat(5, 1fr); 
  gap: 20px; 
}

.grid-4{
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 20px; 
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.grid-gap{
  gap: 50px !important;
}
.grid-vert{
  align-items: center; 
}

.grid-swap div:first-child{
  order: 2;
}
.grid-swap div:last-child{
  order:1;
}


.span-1 {
  grid-column: span 1;
}
.span-2 {
  grid-column: span 2;
}
.span-3 {
  grid-column: span 3;
}
.span-4 {
  grid-column: span 4;
}
.span-5 {
  grid-column: span 5;
}


.margined{
  margin: 75px auto;
}
.margined-small{
  margin: 20px auto;
}

.topmargin{
  margin-top: 75px;
}
.topmargin-med{
  margin-top: 50px; 
}
.topmargin-small{
  margin-top: 25px; 
}


.bottommargin{
  margin-bottom: 75px;
}

.padded{
  padding: 50px;
}
.padded-small{
  padding: 25px; 
}

.vpadded{
  padding-top: 75px;
  padding-bottom: 75px; 
}

.left{
  text-align:left !important; 
}
.center{
  text-align:center;
}
.right{
  text-align:right;
}

.relative{
  position:relative;
}

.buttons{
  display:flex;
  gap: 25px;
}

.button{
  display: inline-block;
  border-radius: 8px;
  background-color: var(--green);
  color:var(--white);
  padding: 16px 35px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.2rem;  
  border:none;
  transition: transform .7s;
}
.button:hover{
  color:var(--white);
  transform:scale(1.05) rotate(-0.5deg);
  transition: transform .3s;
}
.button img{
  height: 20px;
  vertical-align: middle;
  margin-left: 10px;
  transition: transform .7s;
}
.button:hover img{
  transform: translateX(5px) scale(1.4);
  transition: transform .3s;
}

.button.transparent{
  background-color:rgba(74,168,76,.1);
  backdrop-filter: blur(10px);
  border: 2px solid var(--green);
}
.button.outline{
  background-color:rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 2px solid #FFFFFF33;
}

.button.small{
  padding: 8px 15px; 
  font-size: 1rem;
}


/* hide hamburger and in-drawer logo on desktop */
.nav-toggle { display: none; }
.nav-logo { display: none; }




.inline{
  display:inline;
}

.inlineblock{
  display:inline-block;
}

.block{
  display:block;
}

.bgcover{
  background-size:cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.v50{ height: 50vh; }
.v80{ height: 80vh; }
.v100{ height: 100vh; }

.aspect-square{ aspect-ratio: 1/1; }
.aspect-video{ aspect-ratio: 16/9; }
.aspect-photo{ aspect-ratio: 4/3; }

.bg-blue{ background-color: var(--blue); }
.bg-green{ background-color: var(--green); }
.bg-grey{ background-color: var(--grey); }
.bg-light{ background-color: var(--light); }
.bg-dark{ background-color: var(--dark); }
.bg-black{ background-color: var(--black); }


.text-green{ color: var(--green); }
.text-blue{ color: var(--blue); }
.text-light{ color: var(--light); }
.text-lighter{ color: var(--lighter); }
.text-black{ color: var(--black); }
.text-white{ color: var(--white); }

.border-green{ border: 2px solid var(--green); }

.dev-error{
  border: 2px solid #BF312F;
  background-color: #FCDFDF;
  padding: 10px;
  margin: 20px 0;
  font-size: 13px; 
  line-height: 15px; 
  color:#BF312F;
}

.vh100{
  min-height: calc(100vh - 75px); 
}


header{
  position:sticky;
  top:0;
  left:0;
  width:100%;
  z-index: 9;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

header .logo{
  width: 350px; 
  padding: 10px 0;
}
header .logo img{
  display:block;
  width:100%;
}
header nav{
  width:calc(100% - 350px);
  text-align:right;
}
header nav a{
  display: inline-block;
  color: var(--white);
  padding: 5px 10px 5px 10px;
  margin-left: 5px;
  position:relative;
}
header nav a:hover{
  color:var(--white);
}

header nav a .line{
  display:block;
  position:absolute;
  bottom:0;
  left:50%;
  height: 2px;
  background-color:var(--blue);
  opacity:1;
  width:0;
  transition: all 1.3s;
}

header nav a:hover .line{
  width:100%; 
  left:0;
  opacity:1;
  background-color:var(--green);
  transition: all .3s;
}

header nav a.current{
  border: 1px solid var(--light);
  color:var(--white);
  border-radius: 8px; 
}
header nav a.current .line{
  display:none;
}

header nav a.button{
  font-size:1rem;
  padding: 8px 15px;
}


.hero{
  background-color: var(--black);
}

.hero video{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index: 1;
  object-fit: cover;
}

.hero .fade{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  z-index: 2;
  background-color: var(--black);
  opacity: .7;
}

.hero .container{
  position:relative;
  z-index: 3;
}

.hero .lead{
  font-size: 1.3rem;
  border-top: 2px solid var(--green);
  padding-top: 10px; 
  margin-top: 30px;
}


.hero .stats{
  background-color:rgba(44,50,55,.1);
  backdrop-filter: blur(10px);
  border: 1px solid var(--light);
  border-radius: 15px;
  padding: 20px; 
  gap: 15px;
}

.hero .stats .stat{
  text-align:center;
  color: var(--lighter);
  background-color:rgba(44,50,55,.5);
  padding: 15px;
}
.hero .stats .stat .number{
  display:block;
  color:var(--green);
  font-size: 2.5rem;
  font-weight:900;
  line-height:1;
  margin-bottom: 5px; 
} 

.hero .stats .stat:first-child{
  border-top-left-radius: 15px; 
}
.hero .stats .stat:nth-child(2){
  border-top-right-radius: 15px; 
}
.hero .stats .stat:last-child{
  border-bottom-left-radius: 15px; 
  border-bottom-right-radius: 15px; 
}

.hero-reviews{
  width: 100%;
}

.hero-review{
  width: 100%; 
}


.round{
  border-radius: 15px;
}
.round-small{
  border-radius: 8px;
}

.quotemark{
  color:var(--green);
  opacity: .5;
  font-size: 2rem;
  margin: 0 5px;
}

.flickity-slider {
  display: flex;
  align-items: center;
  gap: 20px;
}

.testimonial {
  width: 550px;
  max-width: 90%;
  margin-right: 20px;
}
.testimonial .name{
  border-top: 1px solid var(--grey);
  margin-top: 15px;
  padding-top:15px;
}
.testimonial .company{
  font-size: 0.8rem;
  opacity: .6;
}


.divider{
  height: 4px;
  border-radius: 2px;
  background: #2C3237;
  background: linear-gradient(90deg, rgba(44, 50, 55, 1) 0%, rgba(74, 168, 76, 0.52) 20%, rgba(74, 168, 76, 1) 80%, rgba(44, 50, 55, 0) 100%);
}


pre{
  margin: 0;
  padding: 0;
  font-family: monospace;
  font-size: 13px;
  white-space: pre-wrap;
  word-break: break-all;
  color: var(--green);
  background: #0a0a0a;
  border-radius: 8px; 
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 1em;
}
.code-animation {
  transition: opacity 0.6s ease;
}


/* ============================================
   Utility extensions to existing framework
   ============================================ */

/* ultra-small eyebrow label — fits alongside h2/h3 */
.eyebrow{
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid rgba(74, 168, 76, 0.4);
  border-radius: 999px;
  background-color: rgba(74, 168, 76, 0.08);
}

/* subtle bordered container on a dark card */
.bg-subtle{
  background-color: rgba(44, 50, 55, 0.6);
  border: 1px solid rgba(214, 215, 216, 0.08);
}
.bg-subtle.interactive{
  transition: border-color .4s, background-color .4s;
}
.bg-subtle.interactive:hover{
  border-color: rgba(74, 168, 76, 0.3);
}


/* ============================================
   FAQ accordion
   ============================================ */
.faq-item.open{
  border-color: var(--green) !important;
  background-color: rgba(44, 50, 55, 0.9);
}
.faq-question{
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  border: none;
  color: var(--white);
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  line-height: 1.4;
  transition: color .3s;
}
.faq-question:hover{ color: var(--green); }
.faq-question .q-number{
  flex-shrink: 0;
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--green);
  opacity: 0.7;
  width: 28px;
}
.faq-question .q-text{ flex: 1; }
.faq-question .q-icon{
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(74, 168, 76, 0.15);
  color: var(--green);
  transition: transform .4s cubic-bezier(.4,0,.2,1), background-color .3s;
  font-size: 0.9rem;
}
.faq-item.open .q-icon{
  transform: rotate(45deg);
  background-color: var(--green);
  color: var(--white);
}
.faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s cubic-bezier(.4,0,.2,1);
}
.faq-answer-inner{
  padding: 0 28px 26px 76px;
  color: var(--lighter);
  line-height: 1.7;
}


/* ============================================
   Footer CTA + Site Footer
   ============================================ */
.footer-cta{
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue) 0%, #0d2f4d 100%);
}
.footer-cta::before,
.footer-cta::after{
  content:"";
  position: absolute;
  pointer-events: none;
  background: radial-gradient(circle, rgba(74,168,76,0.22) 0%, transparent 70%);
}
.footer-cta::before{ top:-50%; right:-10%; width:500px; height:500px; }
.footer-cta::after{ bottom:-30%; left:-5%; width:400px; height:400px; opacity:.7; }
.footer-cta .container{ z-index: 2; }
.footer-cta .accent{ color: var(--green); display: block; }
.footer-cta .button{
  box-shadow: 0 20px 40px -15px rgba(74, 168, 76, 0.6);
}

.site-footer{
  background-color: var(--dark);
  color: var(--lighter);
}
.site-footer .footer-logo{
  display: block;
  max-width: 300px;
  margin-bottom: 24px;
}
.site-footer .footer-logo img{ display: block; width: 100%; }

.site-footer a{
  margin-right: 20px; 
}
.site-footer a:hover{
  color:var(--green);
}


.site-footer .footer-bottom{
  border-top: 1px solid rgba(214, 215, 216, 0.08);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.6;
}
.site-footer .footer-bottom .legal{ display: flex; gap: 24px; }
.site-footer .footer-bottom a{ color: var(--lighter); }
.site-footer .footer-bottom a:hover{ color: var(--green); }


/* ============================================
   About page — portrait, timeline, logo marquee
   ============================================ */
.portrait{
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background-color: var(--grey);
  border: 1px solid rgba(214,215,216,0.08);
}
.portrait img{ display: block; width: 100%; height: 100%; object-fit: cover; }




/* Timeline */
.timeline{ position: relative; }
.timeline::before{
  content:"";
  position: absolute;
  top: 20px; bottom: 20px; left: 20px;
  width: 2px;
  background: linear-gradient(180deg, rgba(74,168,76,0) 0%, var(--green) 15%, var(--green) 85%, rgba(74,168,76,0) 100%);
}
.timeline-item{
  position: relative;
  padding: 0 0 50px 70px;
}
.timeline-item:last-child{ padding-bottom: 0; }
.timeline-item .marker{
  position: absolute;
  left: 0; top: 4px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--dark);
  border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  font-size: 0.85rem; font-weight: 700;
  font-family: monospace;
}
.timeline-item .year{
  display: inline-block;
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 12px; 

}

/* Client logo marquee */
.logo-marquee{
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.logo-track{
  display: flex;
  gap: 60px;
  width: max-content;
  animation: scroll-logos 40s linear infinite;
}
.logo-marquee:hover .logo-track{ animation-play-state: paused; }
@keyframes scroll-logos{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}
.client-logo{
  flex-shrink: 0;
  width: 200px; height: 90px;
  display: flex; align-items: center; justify-content: center;
  padding: 18px 26px;
  background-color: rgba(44, 50, 55, 0.5);
  border: 1px solid rgba(214, 215, 216, 0.06);
  border-radius: 10px;
  color: var(--lighter);
  font-weight: 600;
  text-align: center;
  opacity: 0.65;
  transition: opacity .4s, border-color .4s, transform .4s;
}
.client-logo:hover{
  opacity: 1;
  border-color: rgba(74, 168, 76, 0.4);
  transform: translateY(-3px);
}



/* ============================================
   Websites / Portfolio page
   ============================================ */
.filter-bar{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.filter-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background-color: rgba(44, 50, 55, 0.6);
  border: 1px solid rgba(214, 215, 216, 0.1);
  color: var(--lighter);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s;
}
.filter-chip:hover{
  color: var(--white);
  border-color: rgba(74, 168, 76, 0.4);
  transform: translateY(-1px);
}
.filter-chip.active{
  background-color: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.filter-chip .count{
  font-size: 0.75rem;
  opacity: 0.7;
  font-family: monospace;
}

/* Project card */
.project-card{
  display: block;
  overflow: hidden;
  background-color: rgba(44, 50, 55, 0.4);
  border: 1px solid rgba(214, 215, 216, 0.08);
  transition: border-color .4s, transform .4s;
  color: inherit;
}
.project-card:hover{
  border-color: rgba(74, 168, 76, 0.4);
  transform: translateY(-4px);
  color: inherit;
}
.project-shot{
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background-color: var(--dark);
}
.project-shot img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.project-card:hover .project-shot img{ transform: scale(1.04); }
.project-shot .placeholder{
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, var(--grey) 0%, var(--dark) 100%);
  color: var(--light);
  font-family: monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.project-shot .placeholder i{
  font-size: 2rem;
  color: rgba(74, 168, 76, 0.5);
}
.project-shot .overlay{
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.75) 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s;
}
.project-card:hover .project-shot .overlay{
  opacity: 1;
  transform: translateY(0);
}
.project-shot .overlay .visit{
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.project-shot .overlay i{ color: var(--green); margin-left: 8px; }
.project-shot .tag{
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(27, 29, 32, 0.85);
  backdrop-filter: blur(8px);
  color: var(--lighter);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid rgba(214, 215, 216, 0.1);
}
.project-meta{
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.project-meta .client{
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
}
.project-meta .industry{
  color: var(--green);
  font-size: 0.72rem;
  font-family: monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Featured project (larger) */
.featured-project{
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(214, 215, 216, 0.08);
  background-color: rgba(44, 50, 55, 0.4);
  transition: border-color .4s;
}
.featured-project:hover{ border-color: rgba(74, 168, 76, 0.4); }
.featured-project .project-shot{
  aspect-ratio: auto;
  min-height: 100%;
}
.featured-project .featured-copy{
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-project .featured-copy .label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.featured-project .featured-copy .label i{ font-size: 0.7em; }
.featured-project h3{
  margin: 0 0 6px;
}
.featured-project .industry{
  color: var(--green);
  font-size: 0.72rem;
  font-family: monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 14px;
  display: block;
}
.featured-project p{
  color: var(--lighter);
  margin-bottom: 20px;
}

/* Hide/show filter animation */
.project-card[data-hidden="true"]{
  display: none;
}


.stars img{
  height: 20px;
  margin-right: 3px;
}