:root {
  --bg: #f7faf6;
  --text: #20251f;
  --muted: #626b5f;
  --line: #dde3d7;
  --surface: #ffffff;
  --accent: #4f8f78;
  --accent-dark: #2f654f;
  --accent-soft: #e3f1ea;
  --sun: #f2c766;
  --rose: #d9797b;
  --shadow: 0 18px 55px rgba(31, 45, 35, 0.13);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px clamp(18px, 4vw, 48px);
  color: #ffffff;
  transition: background 220ms ease, box-shadow 220ms ease, padding 220ms ease, color 220ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active,
.site-header.subpage-header {
  background: rgba(247, 250, 246, 0.95);
  color: var(--text);
  box-shadow: 0 10px 30px rgba(31, 45, 35, 0.08);
  backdrop-filter: blur(16px);
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 174px;
  max-width: 44vw;
}

.logo-image {
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 220ms ease, transform 180ms ease;
}

.logo:hover .logo-image,
.logo:focus-visible .logo-image {
  transform: translateY(-1px);
}

.site-header.is-scrolled .logo-image,
.site-header.nav-active .logo-image,
.site-header.subpage-header .logo-image {
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  border-radius: var(--radius);
  padding: 9px 13px;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.site-nav .nav-cta {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.nav-active .site-nav a:hover,
.site-header.nav-active .site-nav a:focus-visible,
.site-header.subpage-header .site-nav a:hover,
.site-header.subpage-header .site-nav a:focus-visible {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.site-header.is-scrolled .site-nav .nav-cta,
.site-header.nav-active .site-nav .nav-cta,
.site-header.subpage-header .site-nav .nav-cta {
  background: var(--text);
  color: #ffffff;
  box-shadow: none;
}

.site-header.is-scrolled .site-nav .nav-cta:hover,
.site-header.is-scrolled .site-nav .nav-cta:focus-visible,
.site-header.nav-active .site-nav .nav-cta:hover,
.site-header.nav-active .site-nav .nav-cta:focus-visible,
.site-header.subpage-header .site-nav .nav-cta:hover,
.site-header.subpage-header .site-nav .nav-cta:focus-visible {
  background: var(--sun);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  display: flex;
  min-height: 88vh;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(15, 24, 19, 0.74), rgba(15, 24, 19, 0.22)),
    url("assets/wallpaper.jpg") center/cover;
  color: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(247, 250, 246, 0), var(--bg));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 36%, rgba(242, 199, 102, 0.22), transparent 35%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding-top: 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe19a;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.4rem, 11vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-subtitle {
  max-width: 620px;
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.06rem, 2.4vw, 1.45rem);
}

.join-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 120px 20px 72px;
  background:
    linear-gradient(120deg, rgba(15, 24, 19, 0.74), rgba(15, 24, 19, 0.24)),
    url("assets/wallpaper2.jpg") center/cover;
  color: #ffffff;
  text-align: center;
}

.join-content {
  display: grid;
  justify-items: center;
  gap: 28px;
}

.join-content h1 {
  max-width: none;
  text-align: center;
}

.join-note {
  display: grid;
  justify-items: center;
  gap: 4px;
  max-width: 640px;
  margin: -10px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.45;
}

.join-note a {
  color: #ffe19a;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.legal-page {
  min-height: 100vh;
  padding: 140px 20px 96px;
  background:
    linear-gradient(180deg, rgba(79, 143, 120, 0.12), rgba(247, 250, 246, 0)),
    var(--bg);
}

.legal-content {
  width: min(860px, 100%);
  margin: 0 auto;
}

.legal-content h1 {
  max-width: none;
  margin-bottom: 32px;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.legal-content h2 {
  margin: 38px 0 12px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 800;
}

.legal-note {
  border-left: 6px solid var(--rose);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 18px 20px;
  box-shadow: 0 12px 35px rgba(31, 45, 35, 0.08);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.primary-button {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
}

.secondary-button {
  background: var(--text);
  color: #ffffff;
}

.is-disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.section {
  padding: clamp(72px, 10vw, 120px) 20px;
}

.section-inner {
  width: min(var(--max-width), 100%);
  margin: 0 auto;
}

.two-column,
.membership-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.76fr);
  gap: clamp(32px, 7vw, 78px);
  align-items: center;
}

.section-copy h2,
.section-heading h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-copy p,
.section-heading p {
  max-width: 690px;
  color: var(--muted);
  font-size: 1.02rem;
}

.image-panel {
  margin: 0;
}

.image-panel img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.vodka-panel img {
  object-position: 70% 54%;
}

.image-panel figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.highlights-section {
  background:
    linear-gradient(90deg, rgba(79, 143, 120, 0.1), transparent 45%),
    #f4f8f1;
}

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

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

.activity-card {
  display: grid;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 12px 35px rgba(31, 45, 35, 0.08);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.activity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.activity-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.activity-card div {
  padding: 22px;
}

.activity-card h3,
.download-box h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.activity-card p,
.download-box p {
  margin: 0;
  color: var(--muted);
}

.board-email {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent-dark);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.membership-section {
  background: var(--bg);
}

.download-box {
  border: 1px solid var(--line);
  border-left: 6px solid var(--text);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: var(--shadow);
}

.download-label {
  display: inline-flex;
  margin-bottom: 22px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-dark);
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.download-box .button {
  margin-top: 24px;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(242, 199, 102, 0.18), rgba(79, 143, 120, 0.14)),
    #ffffff;
}

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

.contact-card {
  display: grid;
  min-height: 132px;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 22px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: var(--accent);
  background: #ffffff;
  transform: translateY(-3px);
}

.contact-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  color: var(--accent-dark);
  fill: currentColor;
}

.contact-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-card strong {
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 4vw, 48px);
  background: var(--text);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #ffffff;
  font-weight: 700;
}

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

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

@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;
  }
}

@media (max-width: 820px) {
  .site-header,
  .site-header.is-scrolled,
  .site-header.nav-active,
  .site-header.subpage-header {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
    position: relative;
    z-index: 22;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 0;
    bottom: auto;
    z-index: 21;
    width: min(310px, 82vw);
    height: calc(100dvh - 72px);
    max-height: calc(100vh - 72px);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    overflow-y: auto;
    padding: 20px 24px 24px;
    background: var(--bg);
    color: var(--text);
    box-shadow: -20px 0 55px rgba(31, 45, 35, 0.14);
    transform: translateX(100%);
    transition: transform 230ms ease;
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  @supports (height: 100dvh) {
    .site-nav {
      max-height: none;
    }
  }

  .site-nav a {
    background: var(--surface);
    padding: 13px 14px;
  }

  .site-nav .nav-cta {
    background: var(--text);
    color: #ffffff;
    box-shadow: none;
  }

  .hero {
    min-height: 84vh;
    align-items: flex-end;
    padding-bottom: 96px;
  }

  .hero-content {
    margin: 0;
    padding: 0 20px;
  }

  .two-column,
  .membership-layout,
  .activity-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .image-panel img {
    aspect-ratio: 16 / 11;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .join-content h1 {
    font-size: 3rem;
    line-height: 1;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .logo {
    width: 138px;
    max-width: 52vw;
  }

  .section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-content {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  h1 {
    font-size: 3.35rem;
  }

  .join-page {
    padding-right: 16px;
    padding-left: 16px;
  }

  .join-content h1 {
    font-size: 2.45rem;
  }
}

@media (max-width: 360px) {
  .join-content h1 {
    font-size: 2.1rem;
  }
}
