:root {
  --green: #006b35;
  --green-deep: #005c2d;
  --ink: #202020;
  --paper: #fdfcf9;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--paper);
}

body {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: start center;
  background:
    var(--paper) url("keyssim-background-v3.png") center / cover no-repeat;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 54rem);
  min-height: min(100svh, 52rem);
  padding: clamp(3.2rem, 8.5vh, 5.3rem) 1.5rem 2.5rem;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  position: relative;
  width: min(74vw, 37rem);
  height: clamp(9.25rem, 23vh, 12rem);
  overflow: hidden;
  flex: 0 0 auto;
}

.brand img {
  position: absolute;
  top: -43%;
  left: -5%;
  display: block;
  width: 110%;
  height: auto;
  mix-blend-mode: multiply;
}

.coming-row {
  display: grid;
  width: min(100%, 36rem);
  margin-top: clamp(1.35rem, 3.5vh, 2.1rem);
  grid-template-columns: minmax(2.5rem, 1fr) auto minmax(2.5rem, 1fr);
  align-items: center;
  gap: clamp(1.15rem, 2.8vw, 2.25rem);
}

.coming-row > span {
  height: 1px;
  background: var(--green-deep);
}

h1 {
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(1.55rem, 3.15vw, 2.25rem);
  font-weight: 400;
  letter-spacing: clamp(0.22em, 0.75vw, 0.34em);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.tagline {
  margin: clamp(2.5rem, 5.2vh, 3.35rem) 0 0;
  color: #272727;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 400;
  letter-spacing: 0.015em;
  line-height: 1.45;
}

.leaf-mark {
  position: relative;
  width: 3.6rem;
  height: 3.6rem;
  margin-top: clamp(4.5rem, 11vh, 6.5rem);
}

.leaf-mark i {
  position: absolute;
  top: 0.15rem;
  left: 0.78rem;
  display: block;
  width: 2.25rem;
  height: 2.95rem;
  border: 2px solid var(--green-deep);
  border-radius: 100% 0 100% 0;
  transform: rotate(18deg);
}

.leaf-mark i::after {
  position: absolute;
  top: 1.25rem;
  left: -0.65rem;
  width: 2.9rem;
  height: 1px;
  background: var(--green-deep);
  content: "";
  transform: rotate(-43deg);
  transform-origin: center;
}

.values {
  display: flex;
  margin: 0.45rem 0 0;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.8vw, 1.2rem);
  color: var(--green-deep);
  font-size: clamp(0.72rem, 1.45vw, 0.96rem);
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.values b {
  font-weight: 400;
}

@media (max-width: 640px) {
  .hero {
    background: var(--paper);
  }

  .hero::before,
  .hero::after {
    position: absolute;
    bottom: 0;
    width: 58vw;
    height: min(49svh, 27rem);
    background-image: url("keyssim-background-v3.png");
    background-repeat: no-repeat;
    background-size: auto 100%;
    content: "";
    pointer-events: none;
  }

  .hero::before {
    left: 0;
    background-position: left bottom;
  }

  .hero::after {
    right: 0;
    background-position: right bottom;
  }

  .hero__content {
    min-height: 100svh;
    padding: clamp(2rem, 7vh, 3.25rem) 1rem 2rem;
  }

  .brand {
    width: min(94vw, 31rem);
    height: clamp(7.5rem, 19vh, 9.25rem);
  }

  .coming-row {
    width: min(100%, 27rem);
    margin-top: clamp(0.6rem, 2.3vh, 1.25rem);
    gap: 0.85rem;
  }

  h1 {
    font-size: clamp(1.2rem, 6vw, 1.7rem);
    letter-spacing: 0.2em;
  }

  .tagline {
    max-width: 27rem;
    margin-top: clamp(1.8rem, 5vh, 2.7rem);
    font-size: clamp(0.95rem, 4.2vw, 1.1rem);
  }

  .leaf-mark {
    margin-top: clamp(3rem, 10vh, 5.5rem);
  }

  .values {
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
    font-size: clamp(0.68rem, 3.25vw, 0.82rem);
  }
}

@media (max-width: 390px) {
  .coming-row {
    grid-template-columns: 1.75rem auto 1.75rem;
  }

  .values {
    letter-spacing: 0.045em;
  }
}

@media (max-height: 690px) and (min-width: 641px) {
  .hero__content {
    padding-top: 1.5rem;
  }

  .brand {
    width: 29rem;
    height: 8.4rem;
  }

  .coming-row {
    margin-top: 0.7rem;
  }

  .tagline {
    margin-top: 1.8rem;
  }

  .leaf-mark {
    margin-top: 2.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
