/*
 * EWNS Hero V2
 * Standalone semantic opening. No legacy class selectors are used here.
 */

.home-hero-v2-active {
  margin: 0;
  background: #031923;
  color: #fff;
  font-family: "Montserrat", "Helvetica Neue", sans-serif;
}

.hv2-header,
.hv2-header *,
.hv2-main,
.hv2-main * {
  box-sizing: border-box;
}

.hv2-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 32px;
  width: calc(100% - 64px);
  min-height: 108px;
  padding: 21px 0 17px;
  display: grid;
  grid-template-columns: 405px minmax(0, 1fr) 180px;
  align-items: start;
  gap: 28px;
  color: #fff;
}

.hv2-brand {
  width: 190px;
  display: grid;
  justify-items: start;
  align-content: start;
  color: inherit;
  text-decoration: none;
}

.hv2-brand strong {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 58px;
  font-weight: 500;
  line-height: .72;
  letter-spacing: -.035em;
}

.hv2-brand small {
  margin-top: 8px;
  font-size: 7px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hv2-nav {
  min-width: 0;
  padding-top: 17px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(28px, 2.55vw, 42px);
}

.hv2-nav a {
  color: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .035em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.hv2-join {
  width: 180px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgb(202 162 83 / 78%);
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .055em;
  text-decoration: none;
  text-transform: uppercase;
}

.hv2-menu-toggle {
  display: none;
}

.hv2-main {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: clip;
}

.hv2-hero {
  position: relative;
  width: 100%;
  height: 660px;
  min-height: 660px;
  overflow: hidden;
  background: #082630;
}

.hv2-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 55% 15%;
  filter: saturate(.74) contrast(.94) brightness(1.1);
}

.hv2-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(6 35 43 / 66%) 0%, rgb(6 35 43 / 45%) 31%, rgb(6 35 43 / 16%) 59%, rgb(6 35 43 / 2%) 81%),
    linear-gradient(180deg, rgb(9 45 52 / 13%) 0%, transparent 38%, rgb(5 27 34 / 8%) 73%, rgb(3 20 28 / 22%) 100%);
}

.hv2-hero-copy {
  position: absolute;
  z-index: 2;
  top: 187px;
  left: 7.5vw;
  width: 650px;
  color: #fff;
}

.hv2-kicker {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hv2-hero h1 {
  width: 650px;
  margin: 0;
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 104px;
  font-weight: 500;
  line-height: .78;
  letter-spacing: -.025em;
}

.hv2-hero h1 span {
  display: block;
  width: max-content;
  transform-origin: left center;
}

.hv2-hero h1 span:first-child {
  transform: scaleX(1.18);
}

.hv2-rule {
  width: 78px;
  height: 3px;
  margin: 31px 0 25px;
  display: block;
  background: #caa253;
}

.hv2-intro {
  width: 500px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
}

.hv2-button {
  width: 194px;
  height: 52px;
  margin-top: 31px;
  display: grid;
  place-items: center;
  color: #071d26;
  background: #d1aa59;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .075em;
  text-decoration: none;
  text-transform: uppercase;
}

.hv2-pillars {
  width: 100%;
  min-height: 270px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #031923;
}

.hv2-pillar {
  min-width: 0;
  padding: 44px 42px 38px;
  display: grid;
  grid-template-rows: 54px 28px 1fr;
  justify-items: center;
  align-content: start;
  color: #fff;
  text-align: center;
}

.hv2-icon,
.hv2-icon svg {
  width: 48px;
  height: 48px;
}

.hv2-icon {
  display: grid;
  place-items: center;
  color: #caa253;
}

.hv2-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hv2-pillar h2 {
  margin: 15px 0 7px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.hv2-pillar p {
  max-width: 30ch;
  margin: 7px 0 0;
  color: rgb(255 255 255 / 82%);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 1180px) {
  .hv2-header {
    grid-template-columns: 250px minmax(0, 1fr) 160px;
    gap: 20px;
  }

  .hv2-nav {
    gap: 18px;
  }

  .hv2-nav a {
    font-size: 9px;
  }

  .hv2-join {
    width: 160px;
  }
}

@media (max-width: 900px) {
  .hv2-header {
    left: 20px;
    width: calc(100% - 40px);
    min-height: 88px;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .hv2-brand strong {
    font-size: 44px;
  }

  .hv2-menu-toggle {
    width: 48px;
    height: 48px;
    padding: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: transparent;
    border: 1px solid rgb(202 162 83 / 72%);
  }

  .hv2-menu-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .hv2-menu-toggle i,
  .hv2-menu-toggle i::before,
  .hv2-menu-toggle i::after {
    width: 20px;
    height: 1px;
    display: block;
    background: currentColor;
  }

  .hv2-menu-toggle i {
    position: relative;
  }

  .hv2-menu-toggle i::before,
  .hv2-menu-toggle i::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .hv2-menu-toggle i::before {
    top: -6px;
  }

  .hv2-menu-toggle i::after {
    top: 6px;
  }

  .hv2-nav {
    position: absolute;
    top: 78px;
    right: 0;
    left: 0;
    padding: 30px 24px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    background: #031923;
    border: 1px solid rgb(202 162 83 / 35%);
  }

  .hv2-header.is-open .hv2-nav {
    display: flex;
  }

  .hv2-nav a {
    font-size: 12px;
  }

  .hv2-join {
    display: none;
  }

  .hv2-hero {
    height: 720px;
    min-height: 720px;
  }

  .hv2-hero-media {
    object-position: 67% center;
  }

  .hv2-hero-overlay {
    background:
      linear-gradient(90deg, rgb(3 25 35 / 82%) 0%, rgb(3 25 35 / 50%) 58%, rgb(3 25 35 / 10%) 100%),
      linear-gradient(180deg, transparent 35%, rgb(3 25 35 / 78%) 100%);
  }

  .hv2-hero-copy {
    top: auto;
    bottom: 52px;
    left: 24px;
    width: calc(100% - 48px);
  }

  .hv2-hero h1 {
    width: 100%;
    font-size: clamp(64px, 15vw, 92px);
  }

  .hv2-intro {
    width: min(500px, 100%);
  }

  .hv2-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .hv2-hero {
    height: 690px;
    min-height: 690px;
  }

  .hv2-kicker {
    font-size: 13px;
  }

  .hv2-hero h1 {
    font-size: clamp(58px, 18vw, 78px);
  }

  .hv2-intro {
    font-size: 14px;
  }

  .hv2-pillars {
    grid-template-columns: 1fr;
  }

  .hv2-pillar {
    min-height: 205px;
  }
}
