:root {
  color-scheme: light;
  --ink: #2e2430;
  --muted: #6d5f70;
  --paper: #fff9f3;
  --soft: #fff1e5;
  --coral: #d85f54;
  --coral-dark: #a73e4a;
  --plum: #503b63;
  --teal: #317c77;
  --gold: #f0b44d;
  --rose: #f4b3ad;
  --line: rgba(80, 59, 99, 0.16);
  --shadow: 0 24px 60px rgba(80, 59, 99, 0.16);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 249, 243, 0.96), rgba(255, 249, 243, 0.98)),
    repeating-linear-gradient(90deg, rgba(216, 95, 84, 0.06) 0 1px, transparent 1px 80px);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 249, 243, 0.86);
}

.site-nav a {
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a:hover {
  background: var(--ink);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 249, 243, 0.9);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease;
}

.nav-open .nav-toggle span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: clamp(34px, 6vw, 72px);
  align-items: center;
  min-height: min(760px, calc(100vh - 150px));
  padding: clamp(28px, 5vw, 58px) 0 38px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--coral-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(4rem, 10vw, 8.6rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 4px 4px 0 var(--ink);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.button.primary {
  background: var(--coral);
  color: #fff;
}

.button.ghost {
  background: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
}

.hero-stats dt {
  font-size: 1.75rem;
  font-weight: 950;
  line-height: 1;
}

.hero-stats dd {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
}

.hero-visual::before {
  position: absolute;
  inset: 6% 8% auto auto;
  z-index: -1;
  width: 58%;
  height: 86%;
  border: 2px solid var(--ink);
  border-radius: 28px;
  background: var(--teal);
  box-shadow: 12px 12px 0 var(--gold);
  content: "";
  transform: rotate(3deg);
}

.hero-visual img {
  width: min(100%, 680px);
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: #ffe2d7;
  box-shadow: var(--shadow);
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(28px, 6vw, 70px);
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 72px 0 88px;
  border-top: 1px solid var(--line);
}

.intro p:last-child {
  align-self: end;
  max-width: 650px;
  color: var(--muted);
  font-size: 1.2rem;
}

.events {
  padding: 82px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

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

.event-card,
.value-list article {
  min-height: 260px;
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  box-shadow: 6px 6px 0 rgba(46, 36, 48, 0.92);
}

.event-card {
  display: flex;
  flex-direction: column;
}

.event-card.accent {
  background: var(--plum);
  color: #fff;
}

.event-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.event-card.accent p {
  color: rgba(255, 255, 255, 0.78);
}

.event-date {
  display: inline-flex;
  width: fit-content;
  margin-bottom: auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--coral-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.event-card.accent .event-date {
  background: var(--gold);
  color: var(--ink);
}

.event-card h3 {
  margin-top: 72px;
}

.values {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 88px 0;
}

.value-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.value-list article {
  min-height: 290px;
  background: var(--soft);
  box-shadow: none;
}

.value-list article:nth-child(2) {
  background: #e7f4f0;
}

.value-list article:nth-child(3) {
  background: #fff6d8;
}

.value-list article:nth-child(4) {
  background: #f9dde6;
}

.value-index {
  display: block;
  margin-bottom: 72px;
  color: var(--coral-dark);
  font-weight: 950;
}

.value-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.membership {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  margin-bottom: 64px;
  padding: clamp(34px, 6vw, 64px);
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: var(--teal);
  color: #fff;
  box-shadow: 10px 10px 0 var(--ink);
}

.membership .section-kicker,
.membership p {
  color: rgba(255, 255, 255, 0.82);
}

.membership h2 {
  margin-bottom: 18px;
}

.signup-form {
  padding: 26px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.signup-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 900;
}

.form-row {
  display: flex;
  gap: 10px;
}

input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

input:focus,
.button:focus-visible,
.nav-toggle:focus-visible,
.site-nav a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  color: var(--ink);
  font-weight: 950;
}

.site-footer a {
  font-weight: 800;
  color: var(--coral-dark);
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .section-heading,
  .membership {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-visual {
    max-width: 680px;
  }

  .event-grid,
  .value-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership {
    border-radius: 18px;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: min(100% - 24px, var(--max));
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    right: 12px;
    left: 12px;
    display: grid;
    gap: 6px;
    padding: 12px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px;
    text-align: center;
  }

  .section-band,
  .intro,
  .values,
  .site-footer {
    width: min(100% - 24px, var(--max));
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5.4rem);
  }

  .hero-stats,
  .event-grid,
  .value-list {
    grid-template-columns: 1fr;
  }

  .hero-stats div,
  .event-card,
  .value-list article {
    min-height: auto;
  }

  .event-card h3,
  .value-index {
    margin-top: 48px;
    margin-bottom: 18px;
  }

  .membership {
    padding: 28px 18px;
    box-shadow: 6px 6px 0 var(--ink);
  }

  .form-row {
    flex-direction: column;
  }

  .form-row .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
