:root {
  --lrgSpacing: 9.375rem;
  --1x: 2.8125rem;
  --gutter: 10px;
  --rowGutter: 12px;
  --orange: #FF4E27;
  --white: #FFFFFF;
  --black: #000000;
  --green: #09FF1A;
  --lightGray: #EFEFEF;
  --gray: #302F2F;
  --gray2: #464646;
  --lrgRadius: 2.5rem;
}

.white-type { color: var(--white) !important; } 
.green-type { color: var(--green) !important; }
.gray2 { background: var(--gray2) !important; }

@font-face {
  font-family: 'modena';
  src: url('fonts/EKModena-Light.woff2');
  font-style: normal;
}

@font-face {
  font-family: 'modena-extended';
  src: url('fonts/EKModenaExtended-Regular.woff2');
  font-style: normal;
}

html {
  scrollbar-gutter: stable;  /* reserve scrollbar space so overflow lock doesn't shift layout */
}
html,
body {
  height: 100%;
  margin: 0;
  font-family: 'modena';
}

body.navOpen { overflow: hidden; }

body.navOpen,

a { text-decoration: none; }
h1, h2, h3, p, ul, li { margin: 0; padding: 0; }
h1, h2, h3 { font-family: 'modena-extended'; font-weight: 400; }

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.large-heading { font-size: 4.2328125rem; line-height: 98%; letter-spacing: -0.1113rem; }
.medium-heading { font-size: 2.25rem; line-height: 98%; letter-spacing: 0.125rem; text-transform: uppercase;}
.small-heading { font-size: 1.2rem; line-height: 98%; text-transform: uppercase; }
.large-type { font-size: 3.4375rem; line-height: 98%; letter-spacing: -0.095rem;}
.normal-type, .btn { font-size: 1.125rem; line-height: 130%; }
.normal-type + .normal-type { margin-top: 1.125rem; }

.mt-1x { margin-top: var(--1x); }

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.flow-state {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.flow-state > * {
  min-width: 0;
}

.flex { display: flex; }
.grid { display: grid; }

/* flex vertical center */
.vc { 
  display: flex;
  align-items: center;
}

/* flex stack */
.fc { 
  flex-direction: column;
}

#header {
  background: #eee;
  padding: calc(var(--1x)*.75) var(--lrgSpacing);
  display: flex;
  align-items: center;
}

#header ul#nav { margin-left: auto; }
#header ul#nav li { display: inline; }
#header ul#nav li a {
  font-size: 0.9375rem;
  line-height: 60%;
  letter-spacing: 0.1125rem;
  text-transform: uppercase;
  color: var(--black);
}
#header ul#nav li a .ext { 
  Font-size: 0.6375rem;
  position: relative;
  bottom: 2px;
  left: 2px;
}

#header ul#nav li + li { margin-left: var(--1x); }

.menuBtn { display: none; }

#content {
  flex: 1;
}

.btn { min-width: 14.0625rem; padding: 1.1875rem; border-radius: 5px; text-align: center; background: var(--white); color: var(--black); display: inline-block; }

/* corners */
.lbc { position: absolute; bottom: 0; left: 0; width: 217px; height: auto;  }
.trc { position: absolute; top: 0; right: 0; width: 190px; height: auto;  }
.rbc { position: absolute; bottom: 0; right: 0; height: auto;  }
  .rbc.offset { bottom: -1px; right: -1px;}

/* modules */

  /* text and image block */
  
    .text-image-block {
      background: var(--orange);
      position: relative;
    }
    
    .text-image-block .left { padding: 0 var(--1x) 0 var(--lrgSpacing); }
    .text-image-block .left.vc { 
      justify-content: center;
      align-items: flex-start;
    }
    
    .text-image-block h1 { margin-bottom: calc(var(--1x) * 2  - 20px); }
    .text-image-block p { max-width: 19rem; }
    
    .text-image-block .right {
      aspect-ratio: 19 / 18;
      overflow: hidden;
    }
    
    .text-image-block .right img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center; 
      display: block;
    }
    
  /* text block */
  
    .text-block { margin: 0 var(--lrgSpacing) calc(var(--1x) * 1.5) var(--lrgSpacing); 
      padding-left: var(--1x);
      padding-top: calc(var(--1x) * 1.5);
      border-top: 1px solid var(--black);
    }
    .text-block h2 { margin-bottom: calc(var(--1x) * 1.5); }
    .text-block .flex { gap: var(--1x); }
    .text-block .header {
      flex: 0 0 370px;
      width: 370px;
    }
    .text-block .content { max-width: 55%; }
    
  /* products */
    
    .products { 
      margin: 0 calc(var(--lrgSpacing));
    }
    
    .products .flex { 
      gap: var(--1x);
    }
    
    .products .flex + .flex { margin-top: var(--1x); }
    
    .product {
      max-width: 1620px;
      width: 100%;
      border-radius: var(--lrgRadius);
      padding: var(--1x);
      align-items: stretch;
      background: var(--gray);
    }
    
    .product .video-wrap{
    width: 100%;
    aspect-ratio: 1200 / 664;
    overflow: hidden;
    border-radius: 20px;
    }
    
    .product .video{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 20px;
    }
    
    .thumbnail, .items {
      flex: 1 1 1120px;
      min-width: 0;
    }
    
    .products .items-contain { width: 40%; }
    .products .items { 
      border-top: 1px solid var(--green);
      border-bottom: 1px solid var(--green);
    }
    .item { 
      width: 100%; padding: 1.25rem 2.50rem 1.25rem 0;
    }
    .item:nth-child(2) { 
      border-top: 1px solid var(--green);
      border-bottom: 1px solid var(--green);
    }
    
    .thumbnail { position: relative; }
    .thumbnail img { width: 100%; display: block; border-radius: 20px 20px 0 20px; }
    .thumbnail .rbc { width: 14%; border-radius: 0; }
    
    .product .title, .product .description {
      flex: 0 0 370px;
      width: 370px;
    }
    
    .product .title p { line-height: 115%; }
    .product .title h3 { margin-top: 1.25rem; }
    
    .product .btn {
      align-self: flex-end;
      margin-left: auto;
    }
    
    .section + .section {
      margin-top: var(--1x);
    }
  
  /* bios module */
    
    .bios { 
      margin: 0 calc(var(--lrgSpacing));
      border-radius: var(--lrgRadius);
      padding: var(--1x);
      background: var(--lightGray);
      position: relative;
    }
    
    .bios .flow-state { gap: var(--1x); margin-top: var(--lrgSpacing); }
    
      .bio .name { color: var(--orange); margin-bottom: 0.75rem; }
      .bio img + p { margin-top: 0.75rem;   }
      .bio img { width: 100%; }
      
      .overview { margin-top: 35px; }
      
  /* footer */
      
    .footer {
        padding: var(--1x) var(--lrgSpacing);
        margin-top: calc(var(--1x) * 2);
        background: var(--gray);
      }
      
      .footer #footer-logo { width: 200px; align-self: end; }
      #footer-logo-sml { display: none; }
      
    .contact-form {
      width: 100%;
    }
    
    .form-field {
      margin-bottom: 1.25rem;
      
    }
    
    .contact-form input {
      width: 100%;
      background: transparent;
      border: none;
      border-bottom: 1px solid var(--green);
      padding: 0.5rem 0;
      font: inherit;
      color: inherit;
      outline: none;
      border-radius: 0;
      appearance: none;
      color: var(--white);
    }
    
    .contact-form input#name { padding-top: 0; }
    
    .contact-form input:focus {
      border-bottom: 1px solid var(--green);
    }
    
    .contact-form input::placeholder{
      color: var(--white);
      opacity: 1;
    }
    
    .contact-form .btn { width: 100%; margin-top: 35px; font-family: 'modena'; border: 0; }
    
    /* Accessible visually hidden label helper (from the markup) */
    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }
    
    /* Scroll-reveal: sentence-by-sentence opacity fade as user scrolls */
    .scroll-reveal-wrapper {
    }
    
    .scroll-reveal {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: var(--lrgSpacing);
    }
    
    .scroll-reveal-content {
      width: 100%;
      color: var(--black);
    }
    
    .scroll-reveal-content p {
      margin: 0;
      padding: var(--1x) 0;
    }
    
    .scroll-reveal-content p + p {
      margin-top: 0.5em;
    }

.hide { visibility: hidden; }

@media screen and (max-width: 1500px) { 
  .large-heading { font-size: 3.28125rem; line-height: 98%; }
  .large-type { font-size: 3.075rem; line-height: 98%; letter-spacing: -0.095rem;}
  .lbc { width: 183px; }
  
  .text-image-block h1 { margin-bottom: var(--1x); }
}

@media screen and (max-width: 1400px) {

:root {
--lrgSpacing: 2.8125rem;
}

.normal-type, .btn { font-size: 0.984375rem; }
.normal-type + .normal-type { margin-top: 0.984375rem; }

.lbc { width: calc(var(--1x) * 2); }
.trc { width: 95px;  }
.heading-block { margin-bottom: var(--1x); }

#header ul#nav { margin: 0; width: 100dvw; height: 100dvh; position: fixed; top: 0; left: 0; background: #FFF; z-index: 2; padding: var(--1x); display: flex; flex-direction: column; justify-content: center; display: none; }
#header ul#nav.isOpen { display: flex; }
#header ul#nav li { display: block; }
#header ul#nav li + li { margin: var(--1x) 0 0 0; }
#header ul#nav li a {
  font-size: 3.1875rem;
}
#header ul#nav li a .ext { font-size: 1.9125rem; bottom:9px; left: 4px }

.menuBtn { display: block; z-index: 3; }
button.menuBtn { outine: none; border: 0; margin-left: auto; background: transparent; }
.menuIcon .bar{
  stroke: var(--black);
  stroke-width: 1.5;
  stroke-linecap: round;
  transition: transform 180ms ease;
  transform-box: fill-box;
  transform-origin: center;
}

.menuBtn.isOpen .bar--top {
  transform: translateY(5.5px) rotate(45deg);
}

.menuBtn.isOpen .bar--bot {
  transform: translateY(-5.5px) rotate(-45deg);
}

.text-image-block .left { padding-top: 0; justify-content: center; display: flex; }
}

@media screen and (max-width: 1260px) {
  
  .large-heading { font-size: 2.953125rem; line-height: 98%; }
  .large-type { font-size: 2.759375rem; }
  .lbc { display: none; } 
  
}

@media screen and (max-width: 1175px) {
  
  .text-block {
    padding: var(--1x);
    margin-bottom: 0;
  }
  .text-block h2 { margin-bottom: var(--1x); }
  
  .products .flex { 
    flex-direction: column;
  }
  
  .product .title, .product .description, .product .thumbnail, .product .items {
    flex: revert;
    width: auto;
  }
  
  .product .description { width: auto; }
  .products .items-contain { width: 100%; }
  .product .items { margin-top: calc(var(--1x) * 2); }
  
  .product .btn {
      margin: 0;
      width: 100%;
  }
  
  .bios .flow-state { 
    grid-template-columns: 1fr 1fr;
  }
  
  .bios .overview { grid-column: 1 / -1; }
  

  
}

@media screen and (max-width: 930px) {
  
  .trc { width: 85px;  }
  
  .scroll-reveal-content { padding: 0; }
  .scroll-reveal-content p { min-height: 3rem; }
  
  .flow-state.mobile-stack {
    grid-template-columns: none;
  }
  
  .text-image-block .left { padding: var(--1x); }
  
  .text-block .flex { flex-direction: column; }
  .text-block .flex .header { flex: none; width: auto; }
  .text-block .flex .content { max-width: none; }
  
  .large-type { font-size: 1.75rem; line-height: 115%; }
  
  .bios .flow-state { 
    grid-template-columns: auto;
  }
  
  footer.flow-state { grid-template-columns: auto; }
  footer .contact { margin-top: var(--1x); }
  #footer-logo { display: none; }
  #footer-logo-sml { display: block; width: 50px; margin: var(--1x) 0 0 0; }
  
}

@media screen and (max-width: 600px) { 
  
:root {
--lrgSpacing: 1.875rem;
--1x: 1.875rem;
}
   
  #logo { width: 135px; height: auto; }
  
  .text-image-block .left { padding: var(--lrgSpacing); }
  
  .scroll-reveal-content p { min-height: 2.5rem; }
  
  .medium-heading { font-size: 1.5rem; }

}
