:root {
  --cream: #fff6e4;
  --butter: #f7ca4d;
  --sage: #a8b88b;
  --orange: #f39a63;
  --ink: #252015;
  --muted: #736c5c;
  --glass: rgba(255, 250, 237, 0.62);
  --glass-strong: rgba(255, 250, 237, 0.82);
  --shadow: 0 24px 80px rgba(71, 47, 17, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background:
    radial-gradient(circle at 15% 18%, rgba(247, 202, 77, 0.28), transparent 32%),
    radial-gradient(circle at 80% 8%, rgba(168, 184, 139, 0.28), transparent 28%),
    radial-gradient(circle at 70% 88%, rgba(243, 154, 99, 0.22), transparent 35%),
    linear-gradient(135deg, #fff8e8 0%, #fff0d4 42%, #eff2df 100%);
}

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

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

.site-gradient {
  position: fixed;
  inset: -25%;
  z-index: -2;
  background:
    radial-gradient(circle at var(--mx, 42%) var(--my, 36%), rgba(247, 202, 77, 0.34), transparent 24%),
    radial-gradient(circle at 15% 75%, rgba(243, 154, 99, 0.24), transparent 30%),
    radial-gradient(circle at 84% 52%, rgba(168, 184, 139, 0.3), transparent 28%);
  filter: blur(14px);
  animation: gradientDrift 16s ease-in-out infinite alternate;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1120px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 250, 237, 0.64);
  box-shadow: 0 12px 44px rgba(57, 40, 16, 0.09);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.brand-mark,
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  font-family: Fraunces, Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-icon {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(73, 57, 24, 0.22);
  border-radius: 50%;
  color: #34270f;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.58), transparent 32%),
    linear-gradient(145deg, #f4c744, #fff0ab 56%, #c5d09f);
  box-shadow:
    inset 0 -8px 18px rgba(113, 75, 18, 0.12),
    0 8px 20px rgba(71, 47, 17, 0.1);
}

.brand-icon::before {
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(73, 57, 24, 0.18);
  border-radius: inherit;
  content: "";
}

.brand-initial {
  position: relative;
  z-index: 1;
  margin-top: -2px;
  font-size: 1.26rem;
  line-height: 1;
}

.brand-cheese {
  position: absolute;
  right: 6px;
  bottom: 8px;
  width: 13px;
  height: 9px;
  border-radius: 70% 18% 22% 18%;
  background:
    radial-gradient(circle at 32% 48%, rgba(87, 59, 18, 0.34) 0 16%, transparent 18%),
    linear-gradient(135deg, #fff3ba, #e69b45);
  transform: rotate(-16deg);
}

.brand-wordmark {
  white-space: nowrap;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(37, 32, 21, 0.74);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.02rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.58);
  transform: translateY(-1px);
}

.section {
  position: relative;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 128px 24px 86px;
  overflow: hidden;
}

.hero-inner,
.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: #786330;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(4rem, 11vw, 8.9rem);
  line-height: 0.86;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.55rem, 6vw, 5.4rem);
  line-height: 0.95;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
}

.hero-subtitle,
.section-heading p,
.signup-copy p {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.65;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.button-primary {
  padding: 0 28px;
  color: #2b210d;
  background: linear-gradient(120deg, #f5bd34, #ffe289, #ee9565, #b9c694);
  background-size: 260% 260%;
  box-shadow: 0 18px 40px rgba(128, 82, 18, 0.2);
  animation: buttonGlow 6s ease infinite;
}

.button-primary::after {
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  content: "";
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.42), transparent 58%);
}

.button:hover {
  box-shadow: 0 24px 56px rgba(128, 82, 18, 0.26);
  transform: translateY(-3px) scale(1.01);
}

.learn-link {
  position: relative;
  padding: 12px 4px;
  color: #625537;
  font-family: Fraunces, Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
}

.learn-link::after {
  position: absolute;
  left: 4px;
  bottom: 6px;
  width: calc(100% - 8px);
  height: 2px;
  content: "";
  background: currentColor;
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 200ms ease;
}

.learn-link:hover::after {
  transform: scaleX(1);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cheese-chip {
  position: absolute;
  will-change: transform;
}

.cheese-chip {
  width: 86px;
  height: 72px;
  border-radius: 22px 42px 24px 40px;
  background:
    radial-gradient(circle at 28% 34%, rgba(125, 88, 32, 0.28) 0 8%, transparent 9%),
    radial-gradient(circle at 66% 66%, rgba(125, 88, 32, 0.2) 0 7%, transparent 8%),
    linear-gradient(135deg, #f9d361, #ffe8a0);
  box-shadow: 0 16px 36px rgba(113, 77, 21, 0.12);
  animation: floatChip 8s ease-in-out infinite;
}

.chip-one {
  left: 46%;
  top: 20%;
}

.chip-two {
  left: 8%;
  bottom: 16%;
  scale: 0.72;
  animation-delay: -2s;
}

.chip-three {
  right: 6%;
  bottom: 31%;
  scale: 0.58;
  animation-delay: -5s;
}

.hero-visual {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 34px;
  background: rgba(255, 250, 237, 0.35);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  animation: visualFloat 7s ease-in-out infinite;
}

.hero-visual video {
  width: 100%;
  aspect-ratio: 4 / 4.35;
  object-fit: cover;
  border-radius: 26px;
  background: #fff;
}

.hero-visual-glass {
  position: absolute;
  right: 30px;
  bottom: 30px;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  background: rgba(255, 250, 237, 0.72);
  box-shadow: 0 16px 44px rgba(40, 30, 10, 0.16);
  backdrop-filter: blur(18px);
  color: #4b3b18;
  font-size: 0.92rem;
  font-weight: 800;
}

.rating-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7ea15e;
  box-shadow: 0 0 0 7px rgba(126, 161, 94, 0.16);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: grid;
  width: 34px;
  height: 54px;
  place-items: start center;
  border: 1px solid rgba(37, 32, 21, 0.18);
  border-radius: 999px;
  transform: translateX(-50%);
}

.scroll-indicator span {
  width: 5px;
  height: 5px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--ink);
  animation: scrollCue 1.8s ease-in-out infinite;
}

.about {
  padding: 112px 24px;
}

.section-heading {
  max-width: 790px;
  margin-bottom: 42px;
}

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

.feature-card,
.signup-panel {
  border: 1px solid rgba(255, 255, 255, 0.66);
  background: var(--glass);
  box-shadow: 0 18px 60px rgba(58, 42, 15, 0.1);
  backdrop-filter: blur(22px);
}

.feature-card {
  min-height: 245px;
  padding: 28px;
  border-radius: 8px;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.feature-card:hover {
  background: var(--glass-strong);
  box-shadow: 0 30px 76px rgba(68, 45, 15, 0.16);
  transform: translateY(-10px) rotate(-0.4deg);
}

.card-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(247, 202, 77, 0.3));
  box-shadow: inset 0 -10px 18px rgba(122, 79, 19, 0.08);
  font-size: 1.65rem;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.7;
}

.signup {
  min-height: 78svh;
  display: grid;
  align-items: center;
  padding: 118px 24px;
  overflow: hidden;
}

.signup::before {
  position: absolute;
  inset: 9% 0 7%;
  z-index: -1;
  content: "";
  background: linear-gradient(120deg, rgba(247, 202, 77, 0.32), rgba(168, 184, 139, 0.22), rgba(243, 154, 99, 0.24));
  background-size: 220% 220%;
  animation: gradientDrift 14s ease-in-out infinite alternate;
}

.signup-panel {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  padding: clamp(26px, 5vw, 56px);
  border-radius: 18px;
}

.club-form {
  display: grid;
  gap: 16px;
}

.club-form label {
  display: grid;
  gap: 8px;
  color: #54472b;
  font-weight: 800;
}

.club-form input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid rgba(80, 58, 22, 0.12);
  border-radius: 18px;
  outline: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font: inherit;
  transition: border 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.club-form input:focus {
  border-color: rgba(126, 161, 94, 0.72);
  box-shadow: 0 0 0 5px rgba(126, 161, 94, 0.14);
  transform: translateY(-1px);
}

.signup-button {
  width: 100%;
  margin-top: 6px;
}

.form-message {
  min-height: 26px;
  margin: 0;
  color: #547044;
  font-weight: 800;
}

.site-footer {
  padding: 34px 24px 42px;
  color: rgba(37, 32, 21, 0.62);
  text-align: center;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gradientDrift {
  0% {
    background-position: 0% 45%;
    transform: rotate(0deg) scale(1);
  }
  100% {
    background-position: 100% 55%;
    transform: rotate(2deg) scale(1.04);
  }
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  50% {
    transform: translate3d(18px, -24px, 0) rotate(8deg);
  }
}

@keyframes floatChip {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-8deg);
  }
  50% {
    transform: translate3d(-10px, 20px, 0) rotate(8deg);
  }
}

@keyframes visualFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes buttonGlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes scrollCue {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  35%,
  65% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(24px);
  }
}

@media (max-width: 880px) {
  .hero {
    padding-top: 112px;
  }

  .hero-inner,
  .signup-panel {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

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

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand-wordmark {
    display: none;
  }

  .nav-links {
    gap: 4px;
  }

  .hero {
    padding-inline: 18px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  h2 {
    font-size: clamp(2.4rem, 13vw, 3.6rem);
  }

  .button-primary {
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
  }

  .learn-link {
    margin: 0 auto;
  }

  .hero-visual-glass {
    right: 18px;
    bottom: 18px;
    max-width: calc(100% - 36px);
  }

  .about,
  .signup {
    padding-inline: 18px;
  }

  .signup-panel {
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
