:root {
  color-scheme: light;
  --blue: #00aeef;
  --green: #50b848;
  --yellow: #ffcd00;
  --ink: #161412;
  --white: #fff;
  font-family: Tahoma, Arial, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  margin: 0;
}

body {
  overflow-x: hidden;
  color: var(--ink);
  background: #fff;
}

body.menu-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 66px;
  padding: 0 36px;
  background: #fff;
}

.primary-navigation,
.language-navigation {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.2vw, 44px);
}

.primary-navigation a,
.language-navigation button {
  color: #090909;
  font-family: Tahoma, Arial, sans-serif;
  font-size: clamp(15px, 1.15vw, 22px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-navigation a {
  position: relative;
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-logo {
  width: clamp(188px, 14.74vw, 283px);
  line-height: 0;
}

.site-logo img {
  width: 100%;
  height: auto;
}

.language-navigation {
  justify-self: end;
  gap: 28px;
}

.language-navigation button {
  position: relative;
  padding: 8px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.language-navigation button[aria-pressed="true"]::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: #111;
  content: "";
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: clamp(540px, 56.4vw, 1083px);
  overflow: hidden;
  background-color: var(--blue);
  background-image: url("images/landing/hero-house-wine.webp");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero__wave {
  position: absolute;
  right: -1%;
  bottom: -1px;
  width: 102%;
  height: min(3.85vw, 74px);
  color: var(--blue);
}

.hero__wave path {
  fill: currentColor;
}

.welcome-section,
.rules-section {
  color: #fff;
}

.welcome-section {
  min-height: clamp(1200px, 91.93vw, 1765px);
  padding: 84px 28px 120px;
  background: var(--blue);
}

.copy-block {
  width: min(1058px, 72vw);
  margin-inline: auto;
}

.copy-block h1,
.copy-block h2,
.contact-form h2 {
  margin: 0;
  font-family: Tahoma, Arial, sans-serif;
  font-size: clamp(44px, 3.98vw, 77px);
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
}

.copy-block p {
  margin: 0 0 34px;
  font-size: clamp(19px, 1.77vw, 34px);
  font-weight: 400;
  line-height: 1.17;
}

.copy-block p:last-child {
  margin-bottom: 0;
}

.welcome-section__copy h1 {
  margin-bottom: 34px;
}

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(48px, 6.4vw, 123px);
  width: min(1740px, 92vw);
  margin: clamp(72px, 5.95vw, 114px) auto 0;
}

.product-card {
  position: relative;
  aspect-ratio: 498 / 718;
  margin: 0;
  overflow: hidden;
  border: clamp(2px, .2vw, 4px) solid #111;
  box-shadow: clamp(3px, .25vw, 5px) clamp(3px, .25vw, 5px) 0 #111;
}

.product-card--turquoise {
  background: #00a99d;
}

.product-card--red {
  background: #f00;
}

.product-card--orange {
  background: #f26522;
}

.product-card img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(3px 5px 3px rgb(0 0 0 / 12%));
}

.product-card--turquoise img {
  width: 45%;
}

.product-card--red img {
  width: 71%;
}

.product-card--orange img {
  width: 45%;
}

.product-caption {
  margin: 50px 0 0;
  font-family: Tahoma, Arial, sans-serif;
  font-size: clamp(18px, 1.77vw, 34px);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.ticker {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  height: clamp(330px, 28.35vw, 544px);
  overflow: hidden;
  color: #111;
  background: var(--yellow);
  font-family: Tahoma, Arial, sans-serif;
  font-size: clamp(34px, 3.05vw, 59px);
  font-weight: 700;
  line-height: .95;
  text-transform: uppercase;
}

.ticker__row {
  display: flex;
  align-items: center;
  gap: .55em;
  width: max-content;
  white-space: nowrap;
}

.ticker__row--one {
  transform: translateX(-1.2%);
}

.ticker__row--two {
  transform: translateX(-6%);
}

.ticker__row--three {
  transform: translateX(-.5%);
}

.ticker__icon {
  flex: 0 0 auto;
  width: auto;
  height: 1.7em;
  object-fit: contain;
}

.ticker__icon--barrel {
  height: 1.55em;
}

.ticker__icon--glasses {
  height: 1.5em;
}

.rules-section {
  min-height: clamp(1180px, 95.78vw, 1840px);
  padding: 108px 24px 145px;
  background: var(--green);
}

.rules-section__copy h2 {
  margin-bottom: 38px;
}

.rules-section__copy strong {
  font-weight: 400;
}

.moments {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, .85vw, 17px);
  width: min(1843px, 96vw);
  margin: clamp(70px, 5.25vw, 101px) auto 0;
}

.moments img {
  width: 100%;
  height: auto;
  aspect-ratio: 294 / 370;
  border-radius: 12px;
  object-fit: cover;
}

.contact-section {
  display: flex;
  justify-content: center;
  min-height: clamp(820px, 51.82vw, 995px);
  padding: clamp(42px, 3.02vw, 58px) 16px clamp(48px, 3.44vw, 66px);
  background: #fff;
}

.contact-form {
  align-self: flex-start;
  width: clamp(620px, 40.73vw, 782px);
  min-height: clamp(700px, 45.89vw, 881px);
  padding: clamp(34px, 2.6vw, 50px) clamp(34px, 2.5vw, 48px) clamp(34px, 2.5vw, 48px);
  border: 4px solid #111;
  color: #111;
  background: var(--yellow);
  box-shadow: 6px 7px 0 #111;
}

.contact-form h2 {
  margin-bottom: clamp(38px, 3.12vw, 60px);
  font-size: clamp(36px, 2.8vw, 54px);
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-form label {
  display: block;
  margin-bottom: 17px;
  font-family: Tahoma, Arial, sans-serif;
  font-size: clamp(18px, 1.45vw, 28px);
  font-weight: 700;
}

.contact-form label span {
  display: block;
  margin: 0 0 7px 3px;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  border: 2px solid #4b4b4b;
  border-radius: 22px;
  color: #111;
  background: #fff;
  outline: 0;
  transition: box-shadow 160ms ease, border-color 160ms ease;
}

.contact-form input {
  height: 50px;
  padding: 5px 16px;
}

.contact-form textarea {
  min-height: clamp(220px, 16.82vw, 323px);
  padding: 14px 16px;
  border-radius: 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #111;
  box-shadow: 0 0 0 3px rgb(255 255 255 / 75%);
}

.contact-form [aria-invalid="true"] {
  border-color: #d9232e;
  box-shadow: 0 0 0 3px rgb(217 35 46 / 22%);
}

.form-status {
  min-height: 24px;
  margin: -4px 4px 10px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.form-status.is-error {
  color: #9a1020;
}

.form-status.is-info {
  color: #105f2c;
}

.contact-form button[type="submit"] {
  width: 100%;
  min-height: 50px;
  padding: 5px 20px;
  border: 2px solid #7d1521;
  border-radius: 25px;
  color: #fff;
  background: #d6292d;
  font-family: Tahoma, Arial, sans-serif;
  font-size: clamp(18px, 1.45vw, 28px);
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus-visible {
  background: #b91625;
  transform: translateY(-2px);
}

.site-footer {
  padding: 0 40px 90px;
  background: #fff;
}

.site-footer p {
  margin: 0 0 42px;
  font-size: clamp(16px, 1.77vw, 34px);
  font-weight: 400;
}

.site-footer img {
  width: 100%;
  height: auto;
}

@media (max-width: 1100px) {
  .site-header {
    padding-inline: 22px;
  }

  .primary-navigation {
    gap: 20px;
  }

  .welcome-section,
  .rules-section {
    min-height: auto;
  }

  .copy-block {
    width: min(760px, 84vw);
  }

  .welcome-section {
    padding-bottom: 90px;
  }

  .rules-section {
    padding-top: 86px;
    padding-bottom: 100px;
  }

  .contact-section {
    min-height: auto;
  }
}

@media (max-width: 1020px) {
  :root {
    scroll-padding-top: 68px;
  }

  .site-header {
    position: sticky;
    top: 0;
    grid-template-columns: 1fr auto 1fr;
    min-height: 68px;
    padding-inline: 14px;
  }

  .site-logo {
    width: 128px;
  }

  .menu-button {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    justify-self: start;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-button__icon,
  .menu-button__icon::before,
  .menu-button__icon::after {
    display: block;
    width: 26px;
    height: 3px;
    background: #111;
    content: "";
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-button__icon::before {
    transform: translateY(-8px);
  }

  .menu-button__icon::after {
    transform: translateY(5px);
  }

  .menu-button[aria-expanded="true"] .menu-button__icon {
    background: transparent;
  }

  .menu-button[aria-expanded="true"] .menu-button__icon::before {
    transform: translateY(0) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] .menu-button__icon::after {
    transform: translateY(-3px) rotate(-45deg);
  }

  .primary-navigation {
    position: fixed;
    z-index: 1;
    top: 68px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 26px;
    background: #fff;
    box-shadow: 0 12px 22px rgb(0 0 0 / 16%);
    transform: translateY(calc(-100% - 80px));
    visibility: hidden;
    transition: transform 220ms ease, visibility 220ms;
  }

  .primary-navigation.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .primary-navigation a {
    padding: 16px 4px;
    border-bottom: 1px solid #ddd;
    font-size: 19px;
  }

  .language-navigation {
    gap: 14px;
  }

  .language-navigation button {
    font-size: 15px;
  }

  .hero {
    min-height: clamp(390px, 118vw, 560px);
    background-position: center top;
    background-size: cover;
  }

  .hero__wave {
    height: 74px;
  }

  .welcome-section {
    padding: 38px 18px 74px;
  }

  .copy-block {
    width: min(100%, 570px);
  }

  .copy-block h1,
  .copy-block h2 {
    font-size: clamp(36px, 10vw, 50px);
  }

  .copy-block p {
    margin-bottom: 24px;
    font-size: 17px;
    line-height: 1.35;
  }

  .welcome-section__copy h1,
  .rules-section__copy h2 {
    margin-bottom: 27px;
  }

  .products {
    grid-template-columns: 1fr;
    gap: 24px;
    width: min(100%, 420px);
    margin-top: 58px;
  }

  .product-card {
    aspect-ratio: 1 / .9;
  }

  .product-card--turquoise img,
  .product-card--orange img {
    width: 31%;
  }

  .product-card--red img {
    width: 49%;
  }

  .product-caption {
    width: min(100%, 420px);
    margin: 32px auto 0;
    font-size: 16px;
    line-height: 1.25;
  }

  .ticker {
    height: 300px;
    font-size: 31px;
  }

  .rules-section {
    padding: 72px 18px 76px;
  }

  .moments {
    display: flex;
    width: calc(100vw - 18px);
    margin-top: 56px;
    padding: 0 18px 16px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-color: rgb(255 255 255 / 70%) transparent;
  }

  .moments img {
    flex: 0 0 min(68vw, 270px);
    scroll-snap-align: start;
  }

  .contact-section {
    padding: 42px 14px 58px;
  }

  .contact-form {
    width: min(100%, 782px);
    min-height: 0;
    padding: 32px 20px 26px;
    border-width: 3px;
    box-shadow: 4px 5px 0 #111;
  }

  .contact-form h2 {
    margin-bottom: 34px;
    font-size: clamp(33px, 9vw, 43px);
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form label {
    font-size: 17px;
  }

  .contact-form input {
    height: 46px;
  }

  .contact-form textarea {
    min-height: 190px;
  }

  .site-footer {
    padding: 0 14px 42px;
  }

  .site-footer p {
    margin-bottom: 26px;
    font-size: 14px;
  }
}

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