/* CH-04 shared Webvolley components */
.wv-site-header {
  position: relative;
  z-index: 1000;
  width: 100%;
  height: 112px;
  display: block;
  padding: 0;
  border: 0;
  background: color-mix(in srgb, var(--wv-paper) 94%, transparent);
  color: var(--wv-ink);
  backdrop-filter: blur(14px);
  transform: none !important;
}
.home-page .wv-site-header {
  position: sticky;
  top: 0;
}

.home-page .wv-site-header.header--scroll-mode {
  position: sticky !important;
  right: auto !important;
  left: auto !important;
}

body.wv-menu-open {
  overflow: hidden;
}

.wv-site-header__inner {
  width: min(calc(100% - 96px), var(--wv-container));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--wv-line);
}

.wv-brand {
  width: 190px;
  height: 45px;
  display: block;
}

.wv-brand img {
  width: 190px;
  height: 45px;
  display: block;
  object-fit: contain;
  object-position: left center;
}

.wv-site-header .wv-nav {
  position: static;
  inset: auto;
  width: auto;
  height: auto;
  display: block;
  padding: 0;
  background: transparent;
  opacity: 1;
  visibility: visible;
  transform: none !important;
}

.wv-nav ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 2.7vw, 2.4rem);
  list-style: none;
}

.wv-nav li {
  margin: 0;
  padding: 0;
}

.wv-nav a,
.wv-header-cta {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--wv-ink);
  font: 400 0.86rem/1.2 var(--wv-font-ui);
  text-decoration: none;
}

.wv-nav a::after,
.wv-header-cta::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  height: 1px;
  background: var(--wv-terracotta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--wv-motion-fast) ease;
}

.wv-nav a:hover,
.wv-nav a[aria-current="page"],
.wv-header-cta:hover {
  color: var(--wv-ink);
}

.wv-nav a:hover::after,
.wv-nav a:focus-visible::after,
.wv-nav a[aria-current="page"]::after,
.wv-header-cta:hover::after,
.wv-header-cta:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.wv-nav .wv-nav__secondary,
.wv-menu-toggle,
.wv-menu-close {
  display: none;
}

.wv-header-cta {
  justify-self: end;
  font-weight: 700;
}

.wv-button {
  min-height: 52px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 1.5px solid var(--wv-ink);
  border-radius: var(--wv-radius-control);
  color: var(--wv-ink);
  font: 700 0.83rem/1.15 var(--wv-font-ui);
  text-align: center;
  text-decoration: none;
  transition: transform var(--wv-motion-control) var(--wv-ease-out), box-shadow var(--wv-motion-control) ease, background-color var(--wv-motion-control) ease;
}

.wv-button svg,
.wv-text-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wv-button--primary {
  background: var(--wv-green);
  color: var(--wv-ink) !important;
  box-shadow: 3px 3px 0 rgba(31, 39, 35, 0.18);
}

.wv-button--light {
  border-color: var(--wv-paper-light);
  background: var(--wv-paper-light);
  color: var(--wv-ink);
}

.wv-button--secondary {
  background: transparent;
}

.wv-button:hover,
.wv-button:focus-visible {
  transform: translateY(-3px);
}

.wv-button--primary:hover,
.wv-button--primary:focus-visible {
  box-shadow: 4px 5px 0 rgba(31, 39, 35, 0.42) !important;
}

.wv-button--secondary:hover,
.wv-button--secondary:focus-visible {
  background: var(--wv-paper-light);
}

.wv-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--wv-ink);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--wv-terracotta);
  text-underline-offset: 0.35em;
}

.wv-text-link:hover {
  color: var(--wv-terracotta);
}

.wv-action-link {
  min-height: 44px;
  padding: 0.6rem 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid var(--wv-line);
  border-radius: var(--wv-radius-round);
  background: transparent;
  color: var(--wv-ink);
  font: 700 0.8rem/1.15 var(--wv-font-ui);
  text-decoration: none;
  transition: transform var(--wv-motion-control) var(--wv-ease-out), border-color var(--wv-motion-control) ease, background-color var(--wv-motion-control) ease;
}

.wv-action-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--wv-motion-control) var(--wv-ease-out);
}

.wv-action-link:hover,
.wv-action-link:focus-visible {
  border-color: rgba(31, 39, 35, 0.42);
  background: var(--wv-paper-light);
  transform: translateY(-2px);
}

.wv-action-link:hover svg,
.wv-action-link:focus-visible svg {
  transform: translateX(4px);
}

.wv-typeword {
  position: relative;
  display: inline-block;
  color: var(--wv-terracotta);
  font-style: italic;
  white-space: nowrap;
}

.wv-typeword::before {
  content: attr(data-type-text);
  visibility: hidden;
}

.wv-typeword__layer {
  position: absolute;
  inset: 0 auto auto 0;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.wv-typeword__cursor {
  position: relative;
  top: 0.08em;
  width: 2px;
  height: 0.82em;
  margin-left: 0.055em;
  border-radius: 2px;
  background: currentColor;
  opacity: 0;
}

.wv-typeword.is-typing .wv-typeword__cursor,
.wv-typeword.is-typed .wv-typeword__cursor {
  animation: wv-typeword-cursor 650ms step-end infinite;
}

@keyframes wv-typeword-cursor {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

.wv-kicker,
.wv-meta {
  margin: 0 0 0.85rem;
  color: var(--wv-terracotta);
  font: 700 0.78rem/1.3 var(--wv-font-ui);
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.wv-section-heading {
  max-width: 48rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.wv-section-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 3.6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.05;
}

.wv-section-heading > p:last-child {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: var(--wv-muted);
  font-size: 1.05rem;
}

.wv-section-heading--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
}

.wv-section-heading--split > p,
.wv-section-heading--split > div:last-child {
  margin: 0;
  color: var(--wv-muted);
}

input,
textarea,
select {
  min-height: 52px;
  border: 1px solid var(--wv-ink);
  border-radius: var(--wv-radius-control);
  background: var(--wv-paper-light);
  color: var(--wv-ink);
  font-family: var(--wv-font-ui);
}

.wv-footer {
  position: relative;
  padding: 5rem 3rem 2rem;
  display: block;
  background:
    radial-gradient(circle at 18% 4%, rgba(255, 255, 255, 0.045), transparent 26rem),
    var(--wv-chalk);
  color: var(--wv-paper-light);
  font-family: var(--wv-font-ui);
}

.wv-footer a {
  color: inherit;
}

.wv-footer__inner,
.wv-footer__bottom {
  width: min(100%, var(--wv-container));
  margin-inline: auto;
}

.wv-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.wv-footer__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.wv-footer__intro p {
  max-width: 21rem;
  margin: 0.5rem 0;
  color: var(--wv-chalk-muted);
}

.wv-footer__brand {
  width: min(100%, 190px);
  display: block;
  text-decoration: none;
}

.wv-footer__brand img {
  width: 100%;
  height: auto;
  display: block;
}

.wv-footer__social {
  margin-top: 0.75rem;
}

.wv-footer__social-heading {
  margin: 0 0 0.75rem !important;
  color: var(--wv-chalk-light) !important;
  font-weight: 700;
}

.wv-footer__social ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  list-style: none;
}

.wv-footer__social li {
  margin: 0;
  padding: 0;
}

.wv-footer__social a {
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--wv-chalk-line);
  border-radius: var(--wv-radius-control);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.wv-footer__social a:hover,
.wv-footer__social a:focus-visible {
  border-color: currentColor;
  background: rgba(255, 255, 255, 0.06);
}

.wv-footer__social svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wv-footer__heading {
  margin: 0 0 1.25rem;
  color: var(--wv-chalk-light);
  font-weight: 700;
}

.wv-footer__group ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.wv-footer__group li {
  margin: 0;
  padding: 0;
}

.wv-footer__group a {
  text-decoration-color: transparent;
}

.wv-footer__group a:hover,
.wv-footer__group a:focus-visible {
  color: var(--wv-chalk-light);
  text-decoration-color: currentColor;
}

.wv-footer__bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--wv-chalk-line);
}

.wv-footer__bottom p {
  margin: 0;
}

.wv-footer__top {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.wv-footer__top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1180px) {
  .wv-site-header__inner {
    width: calc(100% - 64px);
  }

  .wv-nav ul {
    gap: 1.5rem;
  }

  .wv-footer__inner {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }

  .wv-footer__group:last-child {
    grid-column: 2;
  }
}

@media (max-width: 820px) {
  .wv-site-header {
    height: 72px;
  }

  .wv-site-header__inner {
    width: calc(100% - 36px);
    display: flex;
    justify-content: space-between;
  }

  .wv-brand,
  .wv-brand img {
    width: 153px;
    height: 36px;
  }

  .wv-menu-toggle {
    position: relative;
    z-index: 2;
    width: 47px;
    height: 47px;
    flex: 0 0 47px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--wv-ink);
    border-radius: 50%;
    background: transparent;
    color: var(--wv-ink);
  }

  .wv-menu-toggle__lines,
  .wv-menu-toggle__lines::before,
  .wv-menu-toggle__lines::after {
    width: 18px;
    height: 1.5px;
    display: block;
    background: currentColor;
  }

  .wv-menu-toggle__lines {
    position: relative;
  }

  .wv-menu-toggle__lines::before,
  .wv-menu-toggle__lines::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .wv-menu-toggle__lines::before { top: -6px; }
  .wv-menu-toggle__lines::after { top: 6px; }

  .wv-header-cta {
    display: none;
  }

  .wv-site-header .wv-nav {
    position: fixed;
    inset: 0;
    z-index: 1100;
    width: 100%;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5.5rem max(1.5rem, calc((100vw - 38rem) / 2));
    background: var(--wv-paper);
    opacity: 0;
    visibility: hidden;
    transform: none !important;
    transition: opacity var(--wv-motion-control) ease, visibility var(--wv-motion-control);
  }

  .wv-site-header .wv-nav.nav-open {
    opacity: 1;
    visibility: visible;
    transform: none !important;
  }

  .wv-menu-close {
    position: absolute;
    top: 1rem;
    right: 1.125rem;
    width: 47px;
    height: 47px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--wv-ink);
    border-radius: 50%;
    background: transparent;
    color: var(--wv-ink);
    font: 400 1.9rem/1 var(--wv-font-ui);
  }

  .wv-nav ul {
    display: grid;
    gap: 0;
  }

  .wv-nav li {
    border-bottom: 1px solid var(--wv-line);
  }

  .wv-nav a {
    min-height: 52px;
    width: 100%;
    font-size: 1rem;
  }

  .wv-nav__secondary {
    margin-top: 1.5rem !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 1.25rem !important;
  }

  .wv-nav__secondary a {
    font-size: 0.92rem;
  }

  .wv-section-heading--split {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.5rem;
  }

  .wv-footer {
    padding: 4rem 1.125rem 1.5rem;
  }

  .wv-footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .wv-footer__intro {
    grid-column: 1 / -1;
  }

  .wv-footer__group:last-child {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .wv-button {
    min-height: 50px;
    padding-inline: 16px;
    font-size: 0.78rem;
  }

  .wv-footer__inner {
    grid-template-columns: 1fr;
  }

  .wv-footer__intro {
    grid-column: auto;
  }
}
