@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/bricolage-grotesque-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}

* { box-sizing: border-box; }

body { margin: 0; }

.landing {
  display: grid;
  grid-template-columns: 51% 49%;
  min-height: 100svh;
}

.art-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5%;
  background: #fff;
}

.brand-art {
  display: block;
  width: min(100%, 690px);
  height: auto;
}

.paw {
  position: absolute;
  color: #b79a87;
  fill: currentColor;
  --rest-opacity: .2;
  --peak-opacity: .4;
  opacity: var(--rest-opacity);
  pointer-events: none;
  animation: icon-drift 7s ease-in-out infinite;
}

.icon-symbols { position: absolute; }
.paw-one { width: 76px; top: 10%; left: 8%; --tilt: -18deg; animation-duration: 5.2s; animation-delay: -1.3s; }
.paw-two { width: 44px; top: 23%; left: 21%; --tilt: -10deg; animation-duration: 4.4s; animation-delay: -2.5s; }
.paw-three { width: 66px; bottom: 8%; right: 8%; --tilt: 18deg; animation-duration: 5.8s; animation-delay: -.8s; }

.message-panel {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(32px, 5.6vw, 86px);
  background: #0aaead;
  color: #fff;
}

.message-content { position: relative; z-index: 1; }

.copyright {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 1;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0;
  color: #c3eeeb;
  font-size: 12px;
  letter-spacing: .015em;
  line-height: 1.35;
  text-align: center;
  transform: translateX(-50%);
}

.groom-icon {
  position: absolute;
  color: #e8fcf9;
  fill: currentColor;
  --rest-opacity: .24;
  --peak-opacity: .46;
  opacity: var(--rest-opacity);
  pointer-events: none;
  animation: icon-drift 7s ease-in-out infinite;
}

.groom-suds { width: 56px; top: 8%; left: 7%; --tilt: -5deg; animation-duration: 4.5s; animation-delay: -1s; }
.groom-comb { width: 64px; top: 10%; right: 11%; --tilt: 7deg; animation-duration: 5.7s; animation-delay: -3s; }
.groom-sparkle { width: 30px; top: 24%; right: 7%; --tilt: 0deg; animation-duration: 4.1s; animation-delay: -1.7s; }
.groom-paw { width: 48px; bottom: 9%; right: 10%; --tilt: 12deg; animation-duration: 5.4s; animation-delay: -4.1s; }
.groom-scissors { width: 54px; bottom: 8%; left: 7%; --tilt: -8deg; animation-duration: 4.8s; animation-delay: -2.2s; }

.headline {
  max-width: 700px;
  margin: 0;
  font-family: "Bricolage Grotesque", Arial, sans-serif;
  font-size: clamp(36px, 4.6vw, 75px);
  font-weight: 700;
  font-optical-sizing: none;
  line-height: .99;
  letter-spacing: 0;
  text-transform: uppercase;
}

.word { display: inline-block; white-space: nowrap; margin-right: .15em; }
.word:last-child { margin-right: 0; }
.mobile-break { display: none; }
.letter {
  display: inline-block;
  font-weight: 700;
  font-stretch: 90%;
  font-variation-settings: "opsz" 48;
  transform: translateY(0);
  animation: type-focus 1.05s cubic-bezier(.2, .72, .22, 1) both;
  animation-delay: calc(var(--order) * 12ms);
}

.subheading {
  max-width: 560px;
  margin: clamp(20px, 3vw, 42px) 0 0;
  color: #e8fcf9;
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.45;
  animation: copy-arrive .75s .7s both;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(28px, 3.8vw, 52px);
  padding: 15px 22px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 7px 20px #007e7a25;
  color: #087f80;
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.instagram-link:hover {
  background: #f0fffd;
  box-shadow: 0 10px 25px #007e7a35;
  transform: translateY(-3px);
}

.instagram-link:active {
  background: #dff8f5;
  box-shadow: 0 2px 8px #007e7a28;
  transform: translateY(1px) scale(.97);
}

.instagram-link svg { transition: transform .18s ease; }
.instagram-link:hover svg { transform: rotate(-9deg) scale(1.08); }
.instagram-link:active svg { transform: rotate(0) scale(.94); }

.instagram-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.instagram-link svg { width: 21px; height: 21px; flex: 0 0 auto; }

@keyframes type-focus {
  0% {
    opacity: 0;
    font-weight: 450;
    font-stretch: 76%;
    font-variation-settings: "opsz" 16;
    transform: translateY(-3px);
  }
  62% {
    opacity: 1;
    font-weight: 800;
    font-stretch: 100%;
    font-variation-settings: "opsz" 88;
    transform: translateY(0);
  }
  100% {
    opacity: 1;
    font-weight: 700;
    font-stretch: 90%;
    font-variation-settings: "opsz" 48;
    transform: translateY(0);
  }
}

@keyframes copy-arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes icon-drift {
  0%, 100% {
    opacity: var(--rest-opacity);
    transform: rotate(calc(var(--tilt) - 3deg)) translateY(2px);
  }
  50% {
    opacity: var(--peak-opacity);
    transform: rotate(calc(var(--tilt) + 4deg)) translateY(-8px);
  }
}

@media (max-width: 750px) {
  .landing { display: flex; flex-direction: column; }
  .art-panel { min-height: 42svh; padding: 15px 45px; }
  .brand-art { max-width: 430px; }
  .message-panel { min-height: 58svh; padding: 38px 30px 50px; }
  .mobile-break { display: block; }
  .headline { font-size: clamp(40px, 10.77vw, 56px); }
  .subheading { font-size: 19px; }
  .paw-one { width: 48px; }
  .paw-two { width: 30px; }
  .paw-three { width: 42px; }
  .groom-suds { width: 44px; }
  .groom-comb { width: 48px; }
  .groom-sparkle { width: 24px; top: 14%; right: 4%; }
  .groom-paw { width: 38px; }
  .groom-scissors { width: 42px; }
}

@media (max-width: 360px) {
  .groom-suds { width: 30px; top: 3%; }
  .groom-paw, .groom-scissors { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .letter, .subheading, .groom-icon, .paw { animation: none; }
  .letter { opacity: 1; }
  .instagram-link { transition: none; }
  .instagram-link svg { transition: none; }
  .instagram-link:hover, .instagram-link:active { transform: none; }
}
