:root {
  --page-bg: #f4f1ea;
  --surface: #ffffff;
  --surface-soft: #f8f6f1;
  --text-main: #1c2520;
  --text-soft: #58635c;
  --accent: #2a431f;
  --accent-dark: #213518;
  --band: #203127;
  --radius-lg: 28px;
  --radius-md: 22px;
  --shadow-lg: 0 20px 45px rgba(15, 18, 18, 0.12);
  --shadow-md: 0 12px 28px rgba(15, 18, 18, 0.08);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--page-bg);
  color: var(--text-main);
  font-family: "Instrument Sans", Arial, sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

.site-main {
  padding: 0 0 64px;
  overflow-x: clip;
}

.page-top-spacing {
  padding-top: 140px;
}

.page-section {
  margin-bottom: 36px;
}

.section-heading {
  margin-bottom: 20px;
}

.section-heading h1,
.section-heading h2 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 2vw, 2.4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.005em;
}

.section-heading p {
  margin: 0;
  max-width: 760px;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.section-heading--light h2,
.section-heading--light p {
  color: #ffffff;
}

.section-heading--tight {
  margin-bottom: 14px;
}

.js-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.js-reveal .feature-tile,
.js-reveal .event-chip,
.js-reveal .news-mini-card,
.js-reveal .club-panel,
.js-reveal .facebook-panel,
.js-reveal .calendar-widget {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    box-shadow 0.24s ease;
}

.js-reveal.is-revealed .is-reveal-child {
  opacity: 1;
  transform: translateY(0);
}

.home-hero {
  margin-bottom: 36px;
}

.home-hero__panel {
  position: relative;
  width: 100%;
  min-height: 620px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 170px 72px 76px;
  border-radius: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 20px 45px rgba(15, 18, 18, 0.22);
  overflow: hidden;
  will-change: transform;
}

.home-hero__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1600px;
  text-align: center;
  color: #ffffff;
}

.home-hero__title-top,
.home-hero__title,
.home-hero__subtitle,
.btn {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.home-hero__title-top {
  margin: 0 0 8px;
  font-size: clamp(2.1rem, 3.8vw, 4.1rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.home-hero__title {
  margin: 0;
  font-size: clamp(2.2rem, 4.1vw, 4rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.58);
}

.home-hero__subtitle {
  margin: 24px 0 0;
  font-size: clamp(1.35rem, 2vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.005em;
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.52);
}

.home-hero__actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.home-hero__cta {
  min-width: 305px;
  min-height: 62px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.home-primary-layout {
  margin-top: 10px;
}

.home-primary-layout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.92fr);
  gap: 34px;
  align-items: stretch;
}

.home-primary-layout__left,
.home-primary-layout__right,
.homepage-secondary-layout__left,
.homepage-secondary-layout__right {
  min-width: 0;
}

.home-primary-layout__left {
  align-self: start;
}

.home-primary-layout__right {
  display: flex;
  align-self: start;
  min-width: 0;
  margin-top: 42px;
}

.homepage-secondary-layout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}

.community-section,
.news-section {
  margin: 0;
}

.community-section__left {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.news-section {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 100%;
}

@media (max-width: 1100px) {
  .home-primary-layout__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 28px;
  }

  .homepage-secondary-layout__grid {
    gap: 28px;
  }

  .home-primary-layout__right {
    margin-top: 28px;
  }

  .home-hero__panel {
    min-height: 540px;
    padding: 132px 40px 56px;
  }

  .home-hero__title-top {
    font-size: clamp(1.9rem, 3vw, 3rem);
  }

  .home-hero__title {
    font-size: clamp(2rem, 4vw, 3.5rem);
  }

  .home-hero__subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  }
}

@media (max-width: 900px) {
  .home-primary-layout__grid,
  .homepage-secondary-layout__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
  }

  .home-primary-layout__right,
  .news-section {
    display: block;
    min-height: auto;
    margin-top: 0;
  }

  .home-hero__panel {
    min-height: 520px;
    padding: 130px 42px 52px;
  }

  .home-hero__title-top {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
  }

  .home-hero__title {
    font-size: clamp(2rem, 5vw, 3.05rem);
  }

  .home-hero__subtitle {
    font-size: clamp(1rem, 2.2vw, 1.3rem);
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .site-main {
    padding: 108px 0 48px;
  }

  .page-top-spacing {
    padding-top: 0;
  }

  .page-section {
    margin-bottom: 24px;
  }

  .home-primary-layout {
    margin-top: 0;
  }

  .home-primary-layout__grid,
  .homepage-secondary-layout__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-primary-layout__right {
    margin-top: 0;
  }

  .home-hero__panel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 500px;
    padding: 122px 26px 42px;
  }

  .home-hero__title-top {
    font-size: clamp(1.7rem, 6vw, 2.35rem);
  }

  .home-hero__title {
    font-size: clamp(1.95rem, 6.1vw, 2.45rem);
    line-height: 1.02;
    white-space: normal;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero__subtitle {
    margin-top: 16px;
    font-size: 1.02rem;
    line-height: 1.45;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero__actions {
    margin-top: 22px;
  }

  .home-hero__cta {
    min-width: 240px;
    min-height: 52px;
  }
}

@media (max-width: 520px) {
  .site-main {
    padding-top: 100px;
  }

  .home-primary-layout__grid,
  .homepage-secondary-layout__grid {
    gap: 20px;
  }

  .home-hero__panel {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: 450px;
    padding: 104px 18px 36px;
  }

  .home-hero__title-top {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .home-hero__title {
    font-size: clamp(1.7rem, 7.4vw, 2.1rem);
    line-height: 1.04;
    max-width: 320px;
  }

  .home-hero__subtitle {
    font-size: 0.98rem;
    line-height: 1.45;
    max-width: 300px;
  }
}