:root {
  --bg: #fffaf2;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #ffffff;
  --surface-soft: #fff3dc;
  --ink: #23413a;
  --muted: #5f786f;
  --brand: #f08c53;
  --brand-deep: #d5672d;
  --leaf: #75b96b;
  --sky: #8fd4e5;
  --sun: #ffd36e;
  --shadow: 0 24px 60px rgba(126, 90, 53, 0.16);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 211, 110, 0.4), transparent 28%),
    radial-gradient(circle at top right, rgba(143, 212, 229, 0.42), transparent 24%),
    linear-gradient(180deg, #fffef8 0%, var(--bg) 56%, #fff8ef 100%);
}

body[data-page="home"] {
  background: var(--bg);
}

body[data-page="home"] .shell-decor::before,
body[data-page="home"] .shell-decor::after {
  display: none;
}

body[data-page="home"] .site-header {
  background: #ffffff;
}

body[data-page="home"] .top-banner {
  background: #ffffff;
}

body[data-page="member-packet"] .eyebrow {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
}

body[data-page="member-packet"] .nav-link.active,
body[data-page="member-packet"] .submenu-toggle.active,
body[data-page="member-packet"] .submenu a.active {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
}

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

.site-shell {
  min-height: 100vh;
}

.shell-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

.shell-decor::before,
.shell-decor::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.shell-decor::before {
  width: 260px;
  height: 260px;
  top: -80px;
  left: -100px;
  background: rgba(117, 185, 107, 0.18);
}

.shell-decor::after {
  width: 340px;
  height: 340px;
  right: -140px;
  top: 18%;
  background: rgba(240, 140, 83, 0.12);
}

.container {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(255, 250, 242, 0.78);
  border-bottom: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fff1, #fff0d6);
  box-shadow: inset 0 0 0 1px rgba(35, 65, 58, 0.08);
}

.brand-mark svg {
  width: 28px;
  height: 28px;
}

.brand-text strong,
.brand-text span {
  display: block;
}

.brand-text strong {
  font-family: "Fraunces", serif;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--surface-strong);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  box-shadow: var(--shadow);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link,
.submenu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.2s ease;
}

.nav-link:hover,
.submenu-toggle:hover,
.nav-link.active,
.submenu-toggle.active,
.nav-link.external-link {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.submenu-toggle {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.submenu {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 0;
  width: 260px;
  padding: 0.75rem;
  margin: 0;
  list-style: none;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  border: 1px solid rgba(35, 65, 58, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.18s ease;
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu,
.nav-item.open .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  color: var(--muted);
}

.submenu a:hover,
.submenu a.active {
  background: var(--surface-soft);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 0;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: white;
  box-shadow: 0 18px 32px rgba(213, 103, 45, 0.26);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(35, 65, 58, 0.08);
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(35, 65, 58, 0.12);
}

.page-hero {
  padding: 2.4rem 0 2.2rem;
}

.page-hero.home-hero {
  position: relative;
  padding-top: 6rem;
  background: var(--bg);
}

.page-hero.home-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5.2rem;
  background: linear-gradient(180deg, #1a191c 0, var(--bg) 100%);
  pointer-events: none;
}

.top-banner {
  padding: 0;
}

.top-banner .container {
  width: 100%;
  max-width: none;
  padding: 0;
}

.banner-panel {
  min-height: 0;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: #ffffff;
  box-shadow: none;
  border: 0;
}

.banner-image-slot {
  position: relative;
  padding: 0;
}

.banner-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(35, 65, 58, 0.07);
  box-shadow: var(--shadow);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--brand-deep);
  background: rgba(255, 211, 110, 0.24);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  margin: 0;
  line-height: 1.06;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2.6rem, 4vw, 4.9rem);
}

.hero-copy p {
  margin: 1rem 0 0;
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.hero-note {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-art {
  position: relative;
  min-height: 430px;
}

.art-card {
  position: absolute;
  inset: 0;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(255, 243, 220, 0.88)),
    linear-gradient(180deg, rgba(143, 212, 229, 0.28), rgba(117, 185, 107, 0.18));
  border: 1px solid rgba(35, 65, 58, 0.08);
}

.art-card::before,
.art-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.art-card::before {
  width: 240px;
  height: 240px;
  right: -40px;
  top: -10px;
  background: rgba(255, 211, 110, 0.65);
}

.art-card::after {
  width: 300px;
  height: 300px;
  left: -70px;
  bottom: -100px;
  background: rgba(117, 185, 107, 0.35);
}

.art-card.has-photos::before,
.art-card.has-photos::after {
  display: none;
}

.art-inner {
  position: absolute;
  inset: 0;
  padding: 2rem;
  display: grid;
  align-content: space-between;
}

.art-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.badge {
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(35, 65, 58, 0.08);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.art-scene {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: end;
}

.hero-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  height: 100%;
}

.hero-photo-card {
  margin: 0;
  min-height: 300px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(35, 65, 58, 0.08);
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.scene-block {
  min-height: 120px;
  border-radius: 26px;
  padding: 1.2rem;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(35, 65, 58, 0.06);
}

.scene-block strong {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.scene-block p {
  margin: 0;
  color: rgba(35, 65, 58, 0.82);
  line-height: 1.5;
}

.scene-block.sun {
  background: rgba(255, 211, 110, 0.8);
}

.scene-block.sky {
  background: rgba(143, 212, 229, 0.82);
}

.scene-block.leaf {
  background: rgba(117, 185, 107, 0.82);
}

.scene-block.peach {
  background: rgba(240, 140, 83, 0.2);
}

.section {
  padding: 1.3rem 0 3.4rem;
}

.section-header {
  max-width: 760px;
  margin-bottom: 1.35rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.section-header p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  padding: 1.45rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid rgba(35, 65, 58, 0.08);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255, 211, 110, 0.12);
}

.card h3,
.card h4 {
  font-size: 1.45rem;
}

.card p,
.card li,
.callout p,
.stat span {
  color: var(--muted);
  line-height: 1.72;
}

.icon-chip {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  margin-bottom: 1rem;
  background: rgba(117, 185, 107, 0.14);
  color: var(--leaf);
  font-weight: 700;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.pill {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(35, 65, 58, 0.08);
  color: var(--ink);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}

.callout {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 243, 220, 0.8), rgba(255, 255, 255, 0.88));
  border: 1px solid rgba(35, 65, 58, 0.08);
  box-shadow: var(--shadow);
}

.callout strong {
  display: block;
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.quote-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  border: 1px solid rgba(35, 65, 58, 0.08);
}

.quote-card p {
  margin: 0;
  color: var(--ink);
  line-height: 1.75;
  font-size: 1.04rem;
}

.quote-card footer {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  border: 1px solid rgba(35, 65, 58, 0.08);
}

.timeline-step {
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(240, 140, 83, 0.16);
  color: var(--brand-deep);
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
}

.timeline-item p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-item {
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  border: 1px solid rgba(35, 65, 58, 0.08);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: var(--ink);
  font-weight: 700;
}

.faq-answer {
  padding: 0 1.3rem 1.25rem;
  color: var(--muted);
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat {
  padding: 1.3rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  border: 1px solid rgba(35, 65, 58, 0.08);
}

.stat strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 2rem;
}

.news-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  color: var(--brand-deep);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer {
  padding: 1rem 0 3rem;
}

.footer-inner {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.35fr 1fr 1fr;
  padding: 1.6rem;
  border-radius: 30px;
  background: rgba(35, 65, 58, 0.96);
  color: white;
  box-shadow: var(--shadow);
}

.footer-brand p,
.footer-col a,
.footer-col p {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.75;
}

.footer-brand .brand-mark {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-bottom {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.arcade-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 10, 14, 0.96);
  display: none;
}

.arcade-overlay.open {
  display: block;
}

.arcade-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.arcade-hud {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: #f7f3e9;
  font-weight: 700;
  pointer-events: none;
}

.arcade-hud-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.arcade-pill {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.arcade-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  cursor: pointer;
}

.arcade-message {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  place-items: center;
  pointer-events: none;
}

.arcade-message.open {
  display: grid;
}

.arcade-message-card {
  padding: 1.25rem 1.5rem;
  border-radius: 24px;
  background: rgba(10, 10, 14, 0.72);
  color: #ffffff;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.arcade-message-card strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.55rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal-up 0.65s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.06s;
}

.reveal:nth-child(3) {
  animation-delay: 0.12s;
}

.reveal:nth-child(4) {
  animation-delay: 0.18s;
}

@keyframes reveal-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .split,
  .footer-inner,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-wrap {
    position: fixed;
    inset: 82px 1rem auto 1rem;
    padding: 1rem;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    border: 1px solid rgba(35, 65, 58, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: 0.18s ease;
  }

  .nav-wrap.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link,
  .submenu-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    border-radius: 16px;
  }

  .submenu {
    position: static;
    width: 100%;
    padding: 0.35rem 0 0.2rem;
    margin-top: 0.35rem;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    display: none;
  }

  .nav-item.open .submenu {
    display: block;
  }

  .hero-art {
    min-height: 360px;
  }

}

@media (max-width: 720px) {
  .container {
    width: min(var(--max), calc(100% - 1.1rem));
  }

  .page-hero {
    padding-top: 3.3rem;
  }

  .hero-copy,
  .card,
  .callout,
  .timeline-item,
  .quote-card {
    padding: 1.2rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-step {
    width: 70px;
    height: 70px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.45rem;
  }

  .section {
    padding-bottom: 2.7rem;
  }

  .art-scene {
    grid-template-columns: 1fr;
  }

  .hero-photo-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo-card {
    min-height: 220px;
  }
}
