:root {
  --butter: #f8b900;
  --butter-soft: #ffe58a;
  --cream: #fff8d8;
  --foam: #fffdf1;
  --brown: #3a1a05;
  --caramel: #9b5c00;
  --ink: #1d1208;
  --blue: #15849b;
  --shadow: 0 24px 70px rgba(116, 68, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 28rem),
    linear-gradient(135deg, #ffd64d 0%, #fff1a8 36%, #f7a700 100%);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  overflow-x: hidden;
}

body.butter-mode {
  --butter: #ffd21f;
  --butter-soft: #fff0a6;
  --blue: #0e7d95;
}

body.butter-mode .hero-copy {
  animation: butter-bounce 520ms ease;
}

body.butter-mode .hero::before {
  filter: saturate(1.16) brightness(1.04);
}

body.butter-mode .sound-toggle {
  transform: rotate(-8deg) scale(1.04);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.2) 0 10%, transparent 10% 21%, rgba(255, 255, 255, 0.18) 21% 31%, transparent 31%),
    radial-gradient(circle at 12px 12px, rgba(255, 255, 255, 0.28) 0 4px, transparent 4px);
  background-size: auto, 34px 34px;
}

body::after {
  content: "";
  position: fixed;
  inset: auto -10vw -18vh -10vw;
  height: 42vh;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.36), rgba(255, 192, 0, 0.26));
  transform: rotate(-3deg);
  transform-origin: center;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 24px;
  left: clamp(16px, 4vw, 48px);
  right: clamp(16px, 4vw, 48px);
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 14px 28px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  background: rgba(255, 253, 241, 0.78);
  box-shadow: 0 18px 42px rgba(107, 64, 0, 0.16);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Cooper Black", Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--brown);
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  width: 40px;
  height: 38px;
  flex: 0 0 auto;
}

.brand-mark span {
  position: absolute;
  display: block;
  background: var(--butter);
  box-shadow: inset 0 -3px 0 rgba(156, 90, 0, 0.12);
}

.brand-mark span:nth-child(1) {
  left: 11px;
  bottom: 3px;
  width: 20px;
  height: 18px;
  border-radius: 54% 46% 56% 44%;
}

.brand-mark span:nth-child(2),
.brand-mark span:nth-child(3),
.brand-mark span:nth-child(4),
.brand-mark span:nth-child(5) {
  width: 11px;
  height: 14px;
  border-radius: 999px;
}

.brand-mark span:nth-child(2) {
  left: 4px;
  top: 14px;
  transform: rotate(-28deg);
}

.brand-mark span:nth-child(3) {
  left: 12px;
  top: 5px;
}

.brand-mark span:nth-child(4) {
  right: 10px;
  top: 5px;
}

.brand-mark span:nth-child(5) {
  right: 2px;
  top: 14px;
  transform: rotate(28deg);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 42px);
  font-size: 1rem;
  color: rgba(58, 26, 5, 0.82);
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  font-weight: 800;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 4px;
  border-radius: 999px;
  background: var(--butter);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.sound-toggle {
  position: relative;
  display: inline-grid;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffc400, #f59a00);
  box-shadow: 0 13px 30px rgba(172, 96, 0, 0.26);
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.sound-toggle span,
.sound-toggle span::before,
.sound-toggle span::after {
  display: block;
  background: white;
}

.sound-toggle span {
  position: relative;
  width: 15px;
  height: 13px;
  border-radius: 50% 50% 48% 48%;
}

.sound-toggle span::before,
.sound-toggle span::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 8px;
  border-radius: 999px;
  top: -7px;
}

.sound-toggle span::before {
  left: 0;
  transform: rotate(-22deg);
}

.sound-toggle span::after {
  right: 0;
  transform: rotate(22deg);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 148px clamp(20px, 6vw, 92px) 72px;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 248, 216, 0.94) 0%, rgba(255, 236, 135, 0.72) 42%, rgba(255, 198, 25, 0.04) 74%),
    url("assets/maslovypescool.png") center / cover no-repeat;
  opacity: 0.94;
}

.hero-visual {
  display: none;
}

.hero-copy {
  width: min(690px, 100%);
  padding-top: 1.5rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--caramel);
  font-size: 0.83rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--brown);
  font-family: "Cooper Black", Georgia, serif;
  font-size: 9.5rem;
  line-height: 0.82;
  letter-spacing: 0;
  text-shadow:
    0 5px 0 #fff6bd,
    0 11px 0 #ffc107,
    0 18px 35px rgba(75, 35, 0, 0.28);
}

.hero-subtitle {
  max-width: 560px;
  margin-bottom: 32px;
  color: rgba(29, 18, 8, 0.86);
  font-size: 2.05rem;
  line-height: 1.24;
  font-weight: 900;
}

.hero-actions,
.contact-form .button {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(90, 48, 0, 0.18);
  border-radius: 999px;
  padding: 0 28px;
  font-weight: 950;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  color: #211305;
  background: linear-gradient(135deg, #ffd341, #f5a400);
  box-shadow: 0 14px 30px rgba(158, 88, 0, 0.24);
}

.button.secondary {
  color: var(--brown);
  background: rgba(255, 253, 241, 0.78);
  border-color: rgba(94, 51, 0, 0.42);
}

.butter-ticket {
  position: absolute;
  left: auto;
  right: clamp(220px, 18vw, 360px);
  top: auto;
  bottom: clamp(30px, 5vh, 60px);
  z-index: 1;
  display: grid;
  gap: 4px;
  width: min(240px, 26vw);
  padding: 18px;
  border: 3px solid rgba(58, 26, 5, 0.12);
  border-radius: 18px;
  color: var(--brown);
  background: rgba(255, 253, 241, 0.74);
  box-shadow: 0 18px 45px rgba(72, 38, 0, 0.15);
  transform: rotate(2deg);
}

.butter-ticket span {
  font-size: 0.75rem;
  font-weight: 950;
  color: var(--caramel);
  text-transform: uppercase;
}

.butter-ticket strong {
  font-family: "Cooper Black", Georgia, serif;
  font-size: 1.85rem;
  line-height: 1;
}

.butter-ticket small {
  font-weight: 900;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(58, 26, 5, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.stats-strip article {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 112px;
  padding: 24px;
  background: rgba(255, 253, 241, 0.58);
}

.stats-strip strong {
  color: var(--brown);
  font-family: "Cooper Black", Georgia, serif;
  font-size: 3.8rem;
  line-height: 1;
}

.stats-strip span {
  max-width: 160px;
  color: rgba(29, 18, 8, 0.76);
  font-weight: 950;
  line-height: 1.15;
}

.section {
  padding: clamp(70px, 9vw, 130px) clamp(20px, 6vw, 92px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

h2 {
  color: var(--brown);
  font-family: "Cooper Black", Georgia, serif;
  font-size: 5rem;
  line-height: 0.95;
  letter-spacing: 0;
}

.vibe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.vibe-card {
  position: relative;
  min-height: 280px;
  padding: 30px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 253, 241, 0.9), rgba(255, 223, 91, 0.72)),
    linear-gradient(90deg, transparent, rgba(21, 132, 155, 0.08));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.vibe-card::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  width: 120px;
  height: 120px;
  border: 14px solid rgba(21, 132, 155, 0.16);
  transform: rotate(14deg);
}

.vibe-card h3 {
  margin-bottom: 12px;
  color: var(--brown);
  font-size: 1.8rem;
}

.vibe-card p {
  margin-bottom: 0;
  color: rgba(29, 18, 8, 0.72);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.45;
}

.vibe-icon {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
}

.vibe-icon.cube {
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7b2 0 44%, #f5b817 45% 100%);
  box-shadow: inset -8px -8px 0 rgba(122, 66, 0, 0.09);
  transform: rotate(8deg);
}

.vibe-icon.swirl {
  border-radius: 50%;
  background: conic-gradient(from 35deg, #fff8d8, #ffd44d, #f09b00, #fff8d8);
}

.vibe-icon.paw::before,
.vibe-icon.paw::after {
  content: "";
  position: absolute;
  background: var(--butter);
}

.vibe-icon.paw::before {
  left: 13px;
  bottom: 8px;
  width: 34px;
  height: 26px;
  border-radius: 50% 50% 44% 44%;
}

.vibe-icon.paw::after {
  left: 2px;
  top: 0;
  width: 14px;
  height: 18px;
  border-radius: 999px;
  box-shadow:
    18px -8px 0 var(--butter),
    38px 0 0 var(--butter),
    9px 20px 0 var(--butter);
}

.legend {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 470px);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 92px);
  color: var(--foam);
  background:
    linear-gradient(135deg, rgba(58, 26, 5, 0.96), rgba(123, 67, 0, 0.92)),
    url("assets/maslpesbike.png") center / cover no-repeat;
}

.legend .eyebrow {
  color: var(--butter-soft);
}

.legend h2 {
  color: #fff7b2;
  text-shadow: 0 6px 0 rgba(245, 164, 0, 0.34);
}

.legend-copy p:not(.eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 253, 241, 0.84);
  font-size: 1.26rem;
  font-weight: 800;
  line-height: 1.55;
}

.butter-meter {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 8px;
  background: rgba(255, 253, 241, 0.12);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.meter-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  color: var(--cream);
  font-weight: 950;
}

.meter-top strong {
  color: var(--butter-soft);
  font-family: "Cooper Black", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.butter-meter input {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--butter) 84%, rgba(255, 255, 255, 0.42) 84%);
  accent-color: var(--butter);
  appearance: none;
}

.butter-meter input::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  border: 3px solid #fff8d8;
  border-radius: 50%;
  background: var(--butter);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  appearance: none;
}

.butter-meter input::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border: 3px solid #fff8d8;
  border-radius: 50%;
  background: var(--butter);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.butter-meter p {
  min-height: 58px;
  margin: 22px 0 0;
  color: rgba(255, 253, 241, 0.86);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.35;
}

.gallery-section {
  background: rgba(255, 253, 241, 0.38);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
}

.gallery-card {
  position: relative;
  min-height: 420px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--brown);
  box-shadow: var(--shadow);
}

.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 240ms ease;
}

.gallery-card:hover img {
  transform: scale(1.035);
}

.gallery-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: var(--cream);
  background: rgba(40, 20, 4, 0.74);
  backdrop-filter: blur(10px);
}

.gallery-card strong {
  font-size: 1.06rem;
}

.gallery-card span {
  color: rgba(255, 253, 241, 0.8);
  font-size: 0.95rem;
  font-weight: 800;
}

.quote-band {
  padding: clamp(56px, 8vw, 100px) clamp(20px, 8vw, 130px);
  background: var(--blue);
  color: white;
}

.quote-band p {
  max-width: 1100px;
  margin: 0 auto;
  font-family: "Cooper Black", Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.18);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 520px);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 92px);
  background:
    linear-gradient(120deg, rgba(255, 253, 241, 0.86), rgba(255, 224, 91, 0.62)),
    url("assets/maslps.png") right bottom / min(42vw, 560px) auto no-repeat;
}

.contact-section p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(29, 18, 8, 0.72);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  background: rgba(255, 253, 241, 0.84);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--brown);
  font-weight: 950;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 2px solid rgba(58, 26, 5, 0.18);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--ink);
  background: white;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(21, 132, 155, 0.15);
}

.contact-form button {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 92px);
  color: rgba(255, 253, 241, 0.8);
  background: var(--brown);
  font-size: 0.95rem;
  font-weight: 850;
}

@keyframes butter-bounce {
  0% {
    transform: translateY(0) rotate(0);
  }

  38% {
    transform: translateY(-8px) rotate(-1deg);
  }

  100% {
    transform: translateY(0) rotate(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    min-height: auto;
    padding: 12px 16px;
    border-radius: 22px;
  }

  .brand {
    font-size: 1.65rem;
  }

  h1 {
    font-size: 7rem;
  }

  h2 {
    font-size: 3.9rem;
  }

  .hero-subtitle {
    font-size: 1.55rem;
  }

  .quote-band p {
    font-size: 3.5rem;
  }

  .stats-strip strong {
    font-size: 3.1rem;
  }

  .main-nav {
    gap: 16px;
    font-size: 0.92rem;
  }

  .hero {
    min-height: 780px;
  }

  .butter-ticket {
    display: none;
  }

  .vibe-grid,
  .legend,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: sticky;
    top: 12px;
    margin: 12px;
    left: auto;
    right: auto;
    flex-wrap: wrap;
  }

  .brand {
    font-size: 1.4rem;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    overflow-x: auto;
    padding-top: 4px;
  }

  .sound-toggle {
    width: 46px;
    height: 46px;
  }

  .hero {
    display: flex;
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    padding: 0 16px 46px;
    overflow: visible;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(255, 249, 218, 0.94), rgba(255, 216, 74, 0.72));
    opacity: 1;
  }

  .hero-visual {
    display: block;
    order: 1;
    margin: 0 -16px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 1px solid rgba(58, 26, 5, 0.12);
    background: var(--butter-soft);
  }

  .hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-copy {
    order: 2;
    width: 100%;
    padding-top: 0;
  }

  h1 {
    font-size: 4.8rem;
  }

  .hero-subtitle {
    font-size: 1.24rem;
  }

  h2 {
    font-size: 2.85rem;
  }

  .quote-band p {
    font-size: 2.2rem;
  }

  .button {
    width: 100%;
  }

  .butter-ticket {
    display: none;
  }

  .stats-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stats-strip article {
    justify-content: flex-start;
  }

  .gallery-card,
  .gallery-card.wide {
    grid-column: auto;
    min-height: 360px;
  }

  .quote-band p {
    text-align: left;
  }

  .contact-section {
    background:
      linear-gradient(120deg, rgba(255, 253, 241, 0.9), rgba(255, 224, 91, 0.76));
  }

  footer {
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .site-header {
    gap: 12px;
  }

  .brand-mark {
    width: 34px;
    height: 32px;
  }

  .brand {
    gap: 10px;
  }

  .main-nav {
    gap: 18px;
  }

  .hero {
    min-height: 730px;
  }

  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .vibe-card,
  .contact-form {
    padding: 20px;
  }

  .gallery-card {
    min-height: 310px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
