/* Exact font files used by www.woodcrafters.sk; family names scoped to the banner. */
@font-face {
  font-family: 'WCTNicksonOne';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/SS-Nickson-One.woff') format('woff');
}
/* latin-ext */
@font-face {
  font-family: 'WCTLato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Lato-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'WCTLato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/Lato-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'WCTLato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Lato-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'WCTLato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Lato-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.wct-banner {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 340px;
  aspect-ratio: 21 / 9;
  overflow: hidden;
  background: #ece8df;
  color: #fff;
  font-family: 'WCTLato', Arial, Helvetica, sans-serif;
}
.wct-banner .wct-banner__poster,
.wct-banner .wct-banner__video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: 56% 50%;
}
.wct-banner .wct-banner__poster { z-index: -3; }
.wct-banner .wct-banner__video {
  z-index: -2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}
.wct-banner.wct-banner--playing .wct-banner__video { opacity: 1; }
.wct-banner--with-text::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 15, 12, .79), rgba(17, 15, 12, .37) 48%, rgba(17, 15, 12, .04) 85%);
  content: "";
  pointer-events: none;
}
.wct-banner .wct-banner__content {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: inherit;
  width: 100%;
  height: 100%;
  padding: clamp(32px, 5vw, 100px);
}
.wct-banner .wct-banner__eyebrow {
  max-width: 540px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(10px, .8vw, 13px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .16em;
}
.wct-banner .wct-banner__title {
  max-width: 670px;
  margin: 0 0 22px;
  padding: 0;
  color: #fff;
  font-family: 'WCTNicksonOne', sans-serif;
  font-size: clamp(44px, 5.6vw, 100px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: none;
  text-wrap: balance;
}
.wct-banner .wct-banner__description {
  margin: 0 0 30px;
  color: #fff;
  font-size: clamp(14px, 1.2vw, 20px);
  line-height: 1.5;
}
.wct-banner .wct-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 48px;
  box-sizing: border-box;
  padding: 14px 22px;
  border: 1px solid #ee3534;
  border-radius: 2px;
  background: #ee3534;
  color: #fff;
  font-family: 'WCTLato', Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color 150ms ease;
}
.wct-banner .wct-banner__cta:hover { background: #ce2323; color: #fff; }
.wct-banner .wct-banner__control {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  bottom: auto;
  min-height: 44px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 3px;
  background: rgba(15, 15, 15, .82);
  color: #fff;
  font-family: 'WCTLato', Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: none;
  cursor: pointer;
}
.wct-banner .wct-banner__control[hidden] { display: none !important; }
.wct-banner .wct-banner__cta:focus-visible,
.wct-banner .wct-banner__control:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
  box-shadow: 0 0 0 6px #151515;
}
@media (max-width: 767px) {
  .wct-banner { min-height: 300px; aspect-ratio: 4 / 3; }
  .wct-banner .wct-banner__poster,
  .wct-banner .wct-banner__video { object-position: 59% 50%; }
  .wct-banner .wct-banner__content { padding: 76px 24px 32px; }
  .wct-banner .wct-banner__eyebrow { margin-bottom: 13px; font-size: 9px; letter-spacing: .11em; }
  .wct-banner .wct-banner__title { max-width: 370px; margin-bottom: 14px; font-size: clamp(36px, 9.6vw, 58px); }
  .wct-banner .wct-banner__description { margin-bottom: 20px; font-size: 13px; }
  .wct-banner .wct-banner__cta { padding: 12px 16px; font-size: 12px; }
  .wct-banner .wct-banner__control { top: 12px; right: 12px; bottom: auto; }
  .wct-banner--with-text::after { background: linear-gradient(90deg, rgba(17, 15, 12, .82), rgba(17, 15, 12, .42)); }
}
@media (prefers-reduced-motion: reduce) {
  .wct-banner .wct-banner__video { display: none; }
  .wct-banner .wct-banner__control { display: none !important; }
  .wct-banner .wct-banner__video,
  .wct-banner .wct-banner__cta { transition: none; }
}
