:root {
  --pri-color: #009421;
  --pri-color-light: rgba(0, 148, 33, 0.5);
  --space3: clamp(1.5rem, 3.5vw, 3rem);
}

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

body {
  font-family: "Mona Sans", sans-serif; /* weights 400, 600, 900 */
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.25;
  color: #333;
  background: #000;
}

body:has(#toggle:checked) {
  overflow: hidden;
  height: 100svh;
}

a {
  text-decoration: none;
  transition: all 750ms ease;
}

a:hover {
  transition: all 250ms ease;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 6rem;
  padding: 0 var(--space3);
  background: #fff;
  z-index: 10;
}

header .logo img {
  width: 9.25rem;
  height: auto;
}

header a.logo:hover {
  transform: scale(1.05);
}

header.home {
  animation: fadeIn 2s ease-in-out;
}

header nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

header nav a {
  color: #000;
  font-size: 1.1rem;
}

header nav a:hover {
  color: var(--pri-color)
}

header nav a.act {
  font-weight: 600;
  border: solid 1px var(--pri-color-light);
  border-radius: 1rem 0.3rem 1rem 0.3rem;
  padding: 0.7rem 2rem;
}

header nav a.act:hover {
  background: var(--pri-color);
  color: #fff;
  border-radius: 1rem 0.5rem 1rem 0.5rem;
}

header input[type="checkbox"] {
  display: none;
}

header label {
  display: none;
}

header.home {
  background: none;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
}

header.home nav a {
  color: #fff;
}

header.home nav a.act {
  border: solid 1px rgba(255, 255, 255, 0.5);
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100dvw;
  min-height: 100svh;
  text-align: center;
  background: #fff;
  overflow-x: hidden;
}

.hero {
  width: 100%;
  min-height: 65svh;
  padding: 0 var(--space3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-repeat:  no-repeat;
  background-position: center center;
  position: relative;
  overflow-x: hidden;
  background-image: url(img/home.jpg);
  transition: all 0.5s ease-in-out;
}

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

.hero:not(.home) .background-video {
  display: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 148, 33, 0.5), rgba(0, 100, 50, 0.4), rgba(0, 148, 33, 0.5));
  background-size: 400% 400%;
  z-index: 1;
  animation: waveOverlay 15s ease-in-out infinite, gradientShift 15s ease-in-out infinite;
}

.wrap-wave {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  z-index: 2;
}

.hero h1,
.hero h2 {
  z-index: 2;
}

.hero.home {
  height: 100svh;
  align-items: flex-start;
  text-align: left;
  animation: fadeIn 1s ease-in-out, blurIn 0.5s ease;
}

.hero.hero-loading {
  animation: none;
  opacity: 0;
}

.hero h1 {
  font-weight: 900;
  color: #fff;
  font-weight: 900;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.55;
  color: #fff;
  padding: 0 var(--space3) 0.5rem var(--space3);
  border-bottom: solid 0.1rem;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-weight: 900;
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  color: #fff;
}

.hero.home h1 {
  font-size: clamp(3rem, 6.5vw, 6rem);
  margin-bottom: 3.5rem;
  padding: 0;
  border: 0;
  line-height: 1.1;
  animation: fadeIn 2s ease-in-out, growUp 1s ease;
}

.hero.home h2 {
  font-weight: 400;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.55;
  color: #fff;
  animation: fadeIn 2s ease-in-out, growUp 1s ease;
}

.wrap-wave {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

.wrap-wave a {
  display: inline-block;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  margin: 2rem;
  padding: 1rem;
  color: #fff;
  border-bottom: solid 1px #fff;
  font-weight: 600;
  font-size: 1.4rem;
  transition: all 750ms ease;
  animation: growUp 1s ease;
}

.wrap-wave svg .wave-path {
  fill: #fff;
  stroke: #fff;
}

.home .wrap-wave svg .wave-path {
  fill: var(--pri-color);
  stroke: var(--pri-color);
}

.wrap-wave a:hover {
  color: var(--pri-color);
  border-bottom: solid 1px var(--pri-color);
  transform: scale(1.05);
}

.wrap-wave a:hover ~ svg .wave-path {
  fill: var(--pri-color);
  transition: all 250ms ease;
  stroke: var(--pri-color);
}

.home .wrap-wave a:hover ~ svg .wave-path {
  fill: #fff;
  transition: all 250ms ease;
  stroke: #fff;
}

.wrap-wave.hide-action .action-link {
  display: none;
}

.top-wave {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: auto;
  min-height: calc(7rem + 3vh + 2vw);
  min-width: calc(80vw + 1vh + 9rem);
  z-index: 3;
}

.home .top-wave {
  display: block;
}

.bottom-wave {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: rotate(180deg);
  height: auto;
  overflow: visible;
  z-index: 3;
}

.home .bottom-wave {
  width: 90rem;
}

.home .wave-path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawWave 2s ease-in-out forwards;
}

.content {
  background: #fff;
  text-align: left;
  padding: 0 var(--space3);
  max-width: 67rem;
  margin: var(--space3) 0;
}

.content img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem 0.5rem 1.5rem 0.5rem;
}

.content img.fullwidth {
  position: relative;
  width: 100vw;
  max-width: 80rem;
  left: 50%;
  transform: translateX(-50%);
}

.content p {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.6;
  margin-top: 2rem;
}

.content ul {
  font-size: clamp(0.94rem, 1.53vw, 1.19rem);
  line-height: 1.5;
  margin-top: 1rem;
}

.content ul li {
  padding-top: 0.5rem;
}

.content ul {
  padding-left: var(--space3)
}

.content ul li {
  list-style: none;
  position: relative;
  padding-left: clamp(1.1rem, 1.8vw, 1.4rem);
}

.content ul li::before {
  content: "–";
  color: var(--pri-color);
  position: absolute;
  left: 0;
}

.content strong {
  font-weight: 600;
}

.content p:first-child {
  font-weight: 600;;
}

.content h1 {
  font-size: clamp(1.65rem, 2.7vw, 2.1rem);
}

.content h2 {
  font-size: clamp(1.38rem, 2.25vw, 1.75rem);
  font-weight: 600;
}

.content h3 {
  font-size: clamp(1.27rem, 2.07vw, 1.61rem);
}

.content p + h1,
.content p + h2,
.content p + h3,
.content ul + h1,
.content ul + h2,
.content ul + h3,
.content h1 + h2,
.content h1 + h3 {
  margin-top: var(--space3);
}

.content a {
  color: var(--pri-color);
  border-bottom: solid 1px var(--pri-color-light);
  font-weight: 600;
}

.content a:hover {
  color: #000;
}

.content a.cta-btn {
  display: block;
  font-weight: 600;
  border: solid 1px var(--pri-color-light);
  border-radius: 0.8rem 0.2rem 0.8rem 0.2rem;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
  transition: all 250ms ease;
  margin-top: 1.5rem;
  width: fit-content;
  font-size: 0.95rem;
}

.content a.cta-btn:hover {
  background: var(--pri-color);
  color: #fff;
  border-radius: 0.8rem 0.3rem 0.8rem 0.3rem;
  text-decoration: none;
}

.hero.home + .content {
  display: none;
}

form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 40rem;
} 

form p {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

form label {
  font-size: clamp(0.847rem, 1.386vw, 1.0395rem);
  width: 100%;
}

form input,
form button,
form select,
form textarea {
  padding: 0.75rem 1rem;
  width: 100%;
  border-radius: 0.5rem 0.1rem 0.5rem 0.1rem;
  border: solid 1px #dadada;
  font-size: clamp(0.847rem, 1.386vw, 1.0395rem);
  line-height: 1.6;
  transition: all 750ms ease;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border: solid 1px var(--pri-color);
  transition: all 250ms ease;
}

form textarea {
  font-family: "Mona Sans", sans-serif;
}

form input.short {
  width: calc(50% - 0.25rem);
}

form fieldset {
  margin-top: 2rem;
  border: none;
}

form legend {
  margin-bottom: 1rem;
}

form fieldset label {
  margin-right: 1rem;
}

form fieldset input {
  width: unset;
}

form button {
  padding: 1.25rem 2rem;
  cursor: pointer;
  background: var(--pri-color);
  border: none;
  color: #fff;
  font-size: clamp(0.77rem, 1.26vw, 0.945rem);
  font-weight: 700;
}

form button:hover {
  background: #000;
  transition: all 250ms ease;
}

.crew-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.crew {
  flex: 1 0 calc(33% - 2rem);
  max-width: calc(33% - 2rem);
  text-align: center;
  line-height: 1.8;
}

.crew h3 {
  line-height: 1.2;
  margin: 1rem 0;
  font-size: clamp(1.2rem, 1.5vw, 1.61rem);
}

.crew span {
  display: block;
}

.crew img {
  width: 100%;
  height: auto;
  border-radius: 1rem 0.3rem 1rem 0.3rem;
}

footer {
  position: relative;
  width: 100%;
  min-height: 12.5rem;
  overflow: hidden;
  background: #fff;
}

.footer-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  transform: scaleY(-1);
  height: 12rem;
  overflow: visible;
}

footer .very {
  position: absolute;
  left: 0;
  bottom: 0;
  color: #fff;
  padding: var(--space3);
  line-height: 1.75;
  font-size: 0.75rem;
  max-width: 20rem;
  line-break: strict;
  width: 100%;
}

footer a {
  color: #fff;
  font-weight: 600;
  border-bottom: solid 1px;
}

footer a:hover {
  color: var(--pri-color);
}

header.home + main + footer {
  background: #000;
  min-height: 4rem;
}

header.home + main + footer svg {
  display: none;
}

header.home + main + footer .very {
  position: static;
  padding: 1.75rem var(--space3);
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  50% {
    opacity: 0.75;
  }
  to {
    opacity: 1;
  }
}

@keyframes growUp {
  from {
    transform: scale(0.5);
  }
  50% {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}

@keyframes blurIn {
  from {
    filter: blur(0);
  }
  50% {
    filter: blur(0.5rem);
  }
  to {
    filter: blur(0);
  }
}

@keyframes drawWave {
  from {
    fill-opacity: 0;
  }
  50% {
    fill-opacity: 0.85;
  }
  to {
    stroke-dashoffset: 0;
    fill-opacity: 1;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 100% 25%;
  }
  50% {
    background-position: 50% 100%;
  }
  75% {
    background-position: 25% 50%;
  }
  100% {
    background-position: 0% 0%;
  }
}

@keyframes waveOverlay {
  0%, 100% {
    opacity: 0.4;
  }
  25% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.5;
  }
  75% {
    opacity: 0.7;
  }
}

@media only screen and (max-width: 992px) {
  header,
  header.home {
    flex-direction: row-reverse;
    height: 5.5rem;
  }
  
  header .logo,
  header.home .logo,
  header input[type="checkbox"]:checked ~ a.logo {
    position: absolute;
    left: var(--space3);
    top: 1.5rem;
    z-index: 100;
  }

  header label {
    cursor: pointer;
    font-size: 2rem;
    color: #000;
  }

  header label.open {
    display: inline-block;
  }

  header.home label.open {
    display: inline-block;
    position: absolute;
    top: 1.5rem;
    right: var(--space3);
    z-index: 10;
  }

  header label.close {
    position: absolute;
    top: 1.7rem;
    right: var(--space3);
    z-index: 10;
  }

  header label.close,
  header input[type="checkbox"]:checked ~ label.open {
    display: none;
  }

  header input[type="checkbox"]:checked ~ label.close {
    display: inline-block;
    color: #000;
  }

  header.home label {
    color: #fff;
  }

  header nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: calc(1rem + 4vh);
    background: #fff;
    width: 100%;
    height: 100dvh;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    transition: opacity 0.5s ease, visibility 0s 0.25s ease;
  }
  
  header input[type="checkbox"]:checked ~ nav {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    animation: fadeIn 0.25s ease-in-out, growUp 0.25s ease;
    transition: opacity 0.5s ease, visibility 0s 0s ease;
  }

  header nav a,
  header.home nav a {
    color: #000;
    font-size: clamp(1.2rem, 4vh, 4.25rem);
  }

  header nav a:hover,
  header.home nav a:hover {
    color: var(--pri-color)
  }

  header nav a.act {
    color: var(--pri-color);
    padding: 0;
    border: none;
  }

  header nav a.act:hover {
    background: none;
    border: none;
    color: #000;
  }
}

@media (max-width: 916px) {
  .crew {
    flex: 1 0 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
}

@media (max-width: 670px) {
  .crew {
    flex: 1 0 100%;
    max-width: 100%;
  }
}

@media only screen and (max-width: 500px),
only screen and (max-height: 500px) {
  header.home {
    background: #fff;
  }

  header.home label {
    color: #000;
  }

  .top-wave,
  .home .top-wave,
  .home .bottom-wave {
    display: none;
  }

  .wrap-wave a {
    background: var(--pri-color);
    color: #fff;
    border-radius: 1rem 0.3rem 1rem 0.3rem;
    border: none;
    padding: 1rem 2rem;
  }

  .wrap-wave a:hover {
    border: none;
  }

  .wrap-wave a:hover ~ svg .wave-path {
    fill: #fff;
    stroke: #fff;
  }
}

@media only screen and (max-height: 500px) {
  header,
  header.home {
    position: relative;
  }

  header nav,
  header input[type="checkbox"]:checked ~ nav {
    flex-direction: row;
    gap: calc(1rem + 3vw);
  }

  header nav a {
    font-size: clamp(1.2rem, 3.5vw, 3.75rem) !important;
  }

  .hero {
    min-height: 85svh;
  }

  .hero.home {
    min-height: 120svh;
  }
}

@media only screen and (max-height: 500px) and (min-width: 992px) {
  header.home {
    background: none;
  }

  .home .top-wave {
    display: block;
  }
}

@media only screen and (max-height: 400px) and (max-width: 700px) {
  .hero.home h2 {
    max-width: 60%;
  }
}

@media only screen and (max-width: 768px) {
  footer .very {
    max-width: none;
  }

  header.home + main + footer .very {
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .hero.home h2 br {
    display: none;
  }
}