.membership-perks {
  background: var(--color-soft-sand);
}

.membership-perks.fade-in-section.is-visible {
  background: var(--color-seagrass);
}

.membership-perks .section-heading h2 {
  color: #1d3e23;
}

.membership-journey {
  background: var(--color-sandstone-wash);
}

.membership-journey .journey-card h2 {
  color: var(--color-forest);
}
/* The Ocean Library - Core Styles */
:root {
  --color-forest: #2b624a;
  --color-deep-forest: #204f3b;
  --color-sunrise: #e27035;
  --color-ocean: #1b73d0;
  --color-espresso: #412913;
  --color-coral: #b12515;
  --color-seafoam: #6fb7b3;
  --color-sandstone: #bb8971;
  --color-sandstone-light: #d9b6a3;
  --color-sandstone-wash: rgba(187, 137, 113, 0.22);
  --color-soft-sand: #d9b6a3;
  --color-espresso-light: #5a3c25;
  --color-slate: #263238;
  --color-pearl: #fdfdfc;
  --color-mist: rgba(255, 255, 255, 0.5);
  --color-seagrass: #9cc9b5;
  --color-midnight: #0f1f19;

  --font-heading: "Anton", sans-serif;
  --font-body: "Touvlo", sans-serif;

  --max-width: 1080px;
  --transition-speed: 0.3s;
  --shadow-soft: 0 18px 45px rgba(24, 58, 45, 0.28);
  --shadow-lift: 0 30px 60px rgba(14, 26, 22, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--color-pearl);
  background-image: url("../img/home.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-slate);
  line-height: 1.6;
  min-height: 100vh;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%232b624a' stroke-width='3' stroke-opacity='0.35' fill='none'%3E%3Cpath d='M30 50h60c20 0 30 10 30 25v90c-10-18-25-27-45-27H30z'/%3E%3Cpath d='M170 50h-60c-20 0-30 10-30 25v90c10-18 25-27 45-27h45z'/%3E%3Cline x1='100' y1='55' x2='100' y2='155'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='220' height='220' viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23b12515' stroke-width='3' stroke-opacity='0.3' fill='none'%3E%3Ccircle cx='70' cy='150' r='45'/%3E%3Cpath d='M110 120l80-80'/%3E%3Cpath d='M150 80l40-40'/%3E%3Cline x1='140' y1='90' x2='200' y2='30'/%3E%3Ccircle cx='110' cy='120' r='12'/%3E%3C/g%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%236fb7b3' stroke-width='3' stroke-opacity='0.35' fill='none'%3E%3Crect x='30' y='40' width='120' height='110' rx='12' ry='12'/%3E%3Crect x='50' y='60' width='80' height='40' rx='8' ry='8'/%3E%3Ccircle cx='70' cy='125' r='12'/%3E%3Ccircle cx='110' cy='125' r='12'/%3E%3Cline x1='30' y1='90' x2='150' y2='90'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 260px 260px, 320px 320px, 280px 280px;
  background-position: 0 0, 120px 60px, 60px 160px;
  opacity: 0.22;
  mix-blend-mode: soft-light;
  z-index: -3;
}

@media (max-width: 640px) {
  body::after {
    background-size: 320px 320px, 400px 400px, 340px 340px;
    background-position: 0 0, 60px 40px, 30px 120px;
    opacity: 0.16;
  }
  body {
    background-attachment: scroll;
  }
}

::selection {
  background: rgba(226, 112, 53, 0.35);
  color: var(--color-deep-forest);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--color-seafoam);
}

a:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(27, 115, 208, 0.5);
  outline-offset: 3px;
  border-color: var(--color-ocean);
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(32, 79, 59, 0.08);
}

::-webkit-scrollbar-thumb {
  background: var(--color-sunrise);
  border-radius: 999px;
}

main {
  padding-top: 84px;
}

.content-header-spacer {
  height: 84px;
}

section {
  padding: 72px 24px;
  position: relative;
  z-index: 1;
}

#pillars {
  background-color: var(--color-deep-forest);
  background-image: url("../img/pillarsbg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  overflow: hidden;
}

#pillars::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 17, 10, 0.6);
  box-shadow: 0 30px 70px rgba(11, 7, 4, 0.55);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

#pillars .container {
  position: relative;
  z-index: 1;
}

.membership-ribbon::before,
.membership-perks::before,
.membership-journey::before {
  display: none;
}

.container {
  margin: 0 auto;
  max-width: var(--max-width);
}

.grid {
  display: grid;
  gap: 40px;
}

[data-layout="two"] {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

[data-layout="three"] {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* Header */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(20, 46, 35, 0.85);
  color: #fff;
  box-shadow: 0 12px 24px rgba(32, 79, 59, 0.2);
}

.site-header.is-scrolled {
  background: rgba(20, 46, 35, 0.95);
  box-shadow: 0 22px 45px rgba(16, 34, 26, 0.45);
}

.site-header .inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  backdrop-filter: blur(6px);
  transition: transform var(--transition-speed),
    box-shadow var(--transition-speed), background var(--transition-speed);
  box-shadow: none;
}

.brand:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 28px 55px rgba(24, 58, 45, 0.25);
}

.brand-logo {
  height: 44px;
  width: auto;
}

.brand-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(32, 79, 59, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 40px rgba(24, 58, 45, 0.25);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  color: #fff;
  transition: background var(--transition-speed),
    border-color var(--transition-speed);
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.primary-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.primary-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: #fff;
  border-color: #fff;
  color: var(--color-forest);
  transform: translateY(-2px) rotate(-2deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.primary-nav a.is-active {
  background: var(--color-seafoam);
  color: #fff;
  border-color: var(--color-seafoam);
  transform: rotate(1deg);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.1);
}

.primary-nav a.nav-cta {
  background: var(--color-sunrise);
  border-color: var(--color-sunrise);
  color: #fff;
  box-shadow: 0 4px 0 #b15626;
  transform: translateY(-2px);
}

.primary-nav a.nav-cta:hover,
.primary-nav a.nav-cta:focus-visible {
  background: #f28755;
  border-color: #f28755;
  transform: translateY(-4px) rotate(2deg);
  box-shadow: 0 6px 0 #b15626;
  color: #fff;
}

.primary-nav a.nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 0 0 #b15626;
}

.primary-nav a.nav-cta.is-active {
  color: #fff;
}

@media (max-width: 768px) {
  .site-header {
    position: sticky;
    top: 0;
  }

  .site-header .inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand {
    padding: 10px 18px;
  }

  .brand-logo {
    height: 36px;
  }

  .brand-name {
    padding: 4px 12px;
    font-size: 0.85rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    inset: 100% 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px;
    background: rgba(20, 46, 35, 0.98);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(15, 31, 25, 0.4);
    z-index: 1000;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    width: 100%;
    justify-content: flex-start;
    border-radius: 16px;
    border-width: 1px;
    background: rgba(255, 255, 255, 0.08);
  }

  main {
    padding-top: 96px;
  }

  .hero {
    clip-path: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    mask-image: none;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; /* Organic shape */
  font-weight: 700;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--color-sunrise);
  color: #fff;
  border-color: var(--color-sunrise);
  box-shadow: 4px 4px 0 #b15626; /* Hard retro shadow */
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #b15626;
}

.btn-primary:active {
  transform: translate(2px, 2px);
  box-shadow: 0 0 0 #b15626;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #fff;
  color: #fff;
  backdrop-filter: blur(4px);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

.btn-secondary:hover {
  background: #fff;
  color: var(--color-forest);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--color-seafoam);
  color: var(--color-deep-forest);
  box-shadow: 4px 4px 0 var(--color-sandstone-wash);
}

.btn-outline:hover {
  background: var(--color-seafoam);
  color: #fff;
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--color-sandstone-wash);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 16px;
  color: #cfe571;
}

h1 {
  font-size: clamp(2.75rem, 6vw, 4.4rem);
  line-height: 1.1;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

p {
  margin: 0 0 18px;
  line-height: 1.6;
}

ul {
  margin: 0 0 18px 0;
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

.lead {
  font-size: 1.2rem;
  color: rgba(38, 50, 56, 0.82);
}

.hero {
  position: relative;
  background-color: var(--hero-tint, rgba(32, 79, 59, 0.92));
  background-image: var(--hero-image, url("../img/ocean.png"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  color: #fff;
  padding: 140px 24px 120px;
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
      circle at 20% 20%,
      rgba(111, 183, 179, 0.35),
      transparent 60%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(226, 112, 53, 0.25),
      transparent 65%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(27, 115, 208, 0.18),
      transparent 55%
    );
  opacity: 0.6;
  mix-blend-mode: screen;
  animation: hero-aurora 26s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  animation-direction: reverse;
  animation-duration: 32s;
  transform: scale(1.1);
}

@keyframes hero-aurora {
  0% {
    transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1.05);
  }
  35% {
    transform: translate3d(3%, 4%, 0) rotate(8deg) scale(1.12);
  }
  65% {
    transform: translate3d(-5%, 6%, 0) rotate(-6deg) scale(1.08);
  }
  100% {
    transform: translate3d(4%, -3%, 0) rotate(0deg) scale(1.04);
  }
}

.hero h1 {
  color: #fff;
}

.hero .container {
  display: grid;
  gap: 32px;
  max-width: 1040px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero .card {
  position: relative;
  z-index: 1;
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-highlights {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding: 0;
  list-style: none;
  margin: 8px 0 0;
  position: relative;
  z-index: 1;
}

.hero-highlights li {
  min-width: 150px;
}

.hero-highlights .stat {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: #fff;
  letter-spacing: 0.08em;
}

.hero-highlights span:last-child {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.75);
}

.hero-media {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-media figure {
  margin: 0;
  line-height: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-card {
  position: absolute;
  inset: auto 18px 18px 18px;
  background: rgba(15, 31, 25, 0.78);
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  color: #fff;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.media-card h3 {
  color: #fff;
  margin-bottom: 10px;
}

.media-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.95rem;
}

.media-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.media-card li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-sunrise);
  margin-top: 6px;
}

.eyebrow {
  display: inline-flex;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--color-seafoam);
  margin-bottom: 12px;
}

.hero .eyebrow {
  color: rgba(111, 183, 179, 0.8);
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-heading p {
  color: rgba(38, 50, 56, 0.78);
}

.membership-ribbon {
  background: var(--color-deep-forest);
  color: #fff;
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}

/* Add a subtle pattern to the ribbon */
.membership-ribbon::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.membership-ribbon h2 {
  color: #fff;
}

.membership-ribbon p {
  color: rgba(255, 255, 255, 0.8);
}

.ribbon-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: center;
  position: relative;
  z-index: 1;
}

.badge-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, background 0.2s ease;
}

.badge-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.tier-card {
  position: relative;
  padding: 32px;
  border-radius: 20px;
  background: #fff;
  border: 2px solid var(--color-forest);
  box-shadow: 8px 8px 0 rgba(43, 98, 74, 0.2); /* Retro offset shadow */
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tier-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 rgba(43, 98, 74, 0.2);
}

.tier-card::after {
  /* Removed dashed border for cleaner retro look */
  display: none;
}

.tier-card.is-featured {
  border-color: var(--color-sunrise);
  box-shadow: 8px 8px 0 rgba(226, 112, 53, 0.2);
  background: #fffaf5; /* Warm tint */
}

.tier-card.is-featured:hover {
  box-shadow: 12px 12px 0 rgba(226, 112, 53, 0.2);
}

.tier-card.is-featured::before {
  content: "Most Loved";
  position: absolute;
  top: -16px;
  right: -10px; /* Badge hanging off the corner */
  left: auto;
  background: var(--color-sunrise);
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 700;
  transform: rotate(5deg);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.tier-card h3 {
  margin-bottom: 8px;
}

.tier-card .price {
  font-size: 2.1rem;
  font-family: var(--font-heading);
  color: var(--color-forest);
}

.tier-card .price span {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: rgba(38, 50, 56, 0.6);
  text-transform: uppercase;
  margin-left: 8px;
}

.tier-summary {
  color: rgba(38, 50, 56, 0.8);
}

.tier-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tier-benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tier-benefits li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  margin-top: 6px;
  background: var(--color-seagrass);
  box-shadow: 0 0 0 2px rgba(12, 44, 33, 0.15);
  flex-shrink: 0;
}

.tier-cta {
  margin-top: auto;
  display: inline-flex;
}

.tier-note {
  margin-top: 32px;
  font-size: 0.9rem;
  color: rgba(38, 50, 56, 0.65);
  text-align: center;
}

.perk-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.perk-card {
  background: rgba(15, 31, 25, 0.9);
  color: #fff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow-lift);
  position: relative;
  overflow: hidden;
}

.perk-card span {
  font-size: 2rem;
  display: inline-block;
  margin-bottom: 12px;
}

.perk-card h3 {
  color: #fff;
}

.perk-card p {
  color: rgba(255, 255, 255, 0.82);
}

.perk-card::after {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  right: -40px;
  bottom: -40px;
}

.journey-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.journey-card p {
  color: rgba(38, 50, 56, 0.78);
}

.orb {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  opacity: 0.13;
  background: var(--color-seagrass);
  filter: blur(2px);
  animation: drift 22s ease-in-out infinite;
  z-index: 1;
}

.orb[data-delay="2"] {
  animation-delay: -2s;
}

.orb[data-delay="-4"] {
  animation-delay: -4s;
}

.orb-one {
  top: -40px;
  left: -60px;
}

.orb-two {
  bottom: 0;
  right: 18%;
}

.orb-three {
  bottom: -80px;
  left: 30%;
  width: 160px;
  height: 160px;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate3d(60px, -40px, 0) scale(1.1) rotate(120deg);
  }
  66% {
    transform: translate3d(-30px, 20px, 0) scale(0.9) rotate(240deg);
  }
}

.card {
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-border: rgba(187, 137, 113, 0.28);
  --card-shadow: 0 22px 44px rgba(29, 22, 16, 0.18);
  --card-hover-shadow: 0 30px 60px rgba(32, 79, 59, 0.28);
  --card-heading: var(--color-forest);
  --card-text: rgba(38, 50, 56, 0.82);
  --card-link: var(--color-seafoam);
  --card-padding: 32px;
  --card-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; /* Organic/Sketchy shape */
  background: var(--card-bg);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  border: 2px solid var(--card-border); /* Slightly thicker border */
  box-shadow: var(--card-shadow);
  color: var(--card-text);
  transition: transform var(--transition-speed),
    box-shadow var(--transition-speed), border-radius var(--transition-speed);
  margin-block: 18px;
}

.card:hover {
  transform: translateY(-4px) rotate(0.5deg); /* Subtle rotation */
  box-shadow: var(--card-hover-shadow);
  border-radius: 15px 225px 15px 255px / 255px 15px 225px 15px; /* Shift shape on hover */
}

.card h2,
.card h3 {
  color: var(--card-heading);
}

.card p,
.card li {
  color: var(--card-text);
}

.card a:not(.btn) {
  color: var(--card-link);
}

/* Card theme variants allow per-surface overrides without affecting other cards */
.card[data-card="hero-cta"] {
  --card-bg: rgba(255, 255, 255, 0.92);
  --card-border: rgba(43, 98, 74, 0.18);
  --card-shadow: 0 22px 45px rgba(24, 58, 45, 0.16);
  --card-hover-shadow: 0 26px 55px rgba(24, 58, 45, 0.2);
}

.card[data-card="pillar"] {
  --card-bg: rgba(32, 79, 59, 0.92);
  --card-border: rgba(32, 79, 59, 0.6);
  --card-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  --card-hover-shadow: 0 36px 80px rgba(0, 0, 0, 0.4);
  --card-heading: #fff;
  --card-text: rgba(255, 255, 255, 0.85);
  --card-link: rgba(255, 255, 255, 0.9);
}

.card[data-card="pillar"] .btn-outline {
  color: #fff;
  border-color: #fff;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.card[data-card="pillar"] .btn-outline:hover {
  background: #fff;
  color: var(--color-deep-forest);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.3);
}

.card[data-card="feature-intro"] {
  --card-bg: rgba(32, 79, 59, 0.94);
  --card-border: rgba(32, 79, 59, 0.52);
  --card-shadow: var(--shadow-lift);
  --card-hover-shadow: 0 34px 70px rgba(14, 36, 27, 0.45);
  --card-heading: #fff;
  --card-text: rgba(255, 255, 255, 0.82);
  --card-link: #fff;
  --card-padding: 54px;
  --card-radius: 36px;
}

.feature-hours {
  list-style: none;
  padding: 0;
  margin: 28px 0 36px;
  display: grid;
  gap: 10px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.feature-hours li {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.feature-hours strong {
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.card[data-card="events-preview"] {
  --card-padding: 40px;
}

.card[data-card="events-preview"] .event-card {
  font-size: 1.02rem;
}

.card[data-card="ocean-accent"] {
  --card-bg: var(--color-ocean);
  --card-border: var(--color-ocean);
  --card-shadow: 0 24px 46px rgba(16, 56, 94, 0.32);
  --card-hover-shadow: 0 32px 60px rgba(16, 56, 94, 0.36);
  --card-heading: #fff;
  --card-text: rgba(255, 255, 255, 0.88);
  --card-link: #fff;
  --card-padding: 26px;
  border-left: none;
}

.card[data-card="menu"] {
  --card-bg: rgba(255, 255, 255, 0.97);
  --card-padding: 36px;
  --card-shadow: var(--shadow-soft);
  --card-radius: 32px;
}

.card[data-card="gallery"] {
  --card-padding: 28px;
}

.card[data-card="testimonials"] {
  --card-padding: 40px;
  --card-radius: 32px;
}

.card[data-card="testimonials"] .testimonials {
  margin: 0;
}

.hero .card ul li {
  color: var(--card-heading);
  font-weight: 600;
}

.pillar-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(111, 183, 179, 0.16);
  color: var(--color-seafoam);
  display: grid;
  place-items: center;
  font-size: 1.75rem;
  margin-bottom: 18px;
}

.feature-section {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonials {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial {
  padding: 24px;
  border-left: 4px solid var(--color-ocean);
  background: rgba(27, 115, 208, 0.12);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(27, 115, 208, 0.15);
}

.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-forest);
}

/* Menu tables */
.card.menu-section {
  --card-bg: #fdfbf7; /* Warm paper color */
  --card-border: rgba(43, 98, 74, 0.15);
  --card-padding: 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e6e0d4;
  position: relative;
}

/* Paper texture effect */
.card.menu-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  border-radius: inherit;
}

.menu-grid {
  display: grid;
  gap: 60px; /* More breathing room between sections */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.menu-category h3 {
  margin-bottom: 24px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-espresso);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--color-sandstone-light);
  padding-bottom: 12px;
  display: inline-block;
  width: 100%;
}

.menu-item {
  display: flex;
  align-items: flex-end; /* Align to bottom for leader dots */
  padding: 12px 0;
  border-bottom: none; /* Remove old border */
}

.menu-item span {
  font-weight: 600;
  color: var(--color-deep-forest);
  font-family: var(--font-body);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
  padding-right: 8px;
  background: var(--card-bg); /* Mask dots behind text */
  order: 1;
}

/* Dotted leader */
.menu-item::after {
  content: "";
  flex: 1;
  border-bottom: 2px dotted var(--color-sandstone);
  margin-bottom: 5px; /* Align with text baseline */
  opacity: 0.5;
  order: 2;
}

.menu-item em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-espresso);
  padding-left: 8px;
  background: var(--card-bg); /* Mask dots behind price */
  position: relative;
  z-index: 1;
  order: 3;
}

.gallery-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.gallery-grid img {
  border-radius: 18px;
  object-fit: cover;
  height: 220px;
}

.card.form-card {
  --card-bg: #fff;
  --card-border: rgba(43, 98, 74, 0.12);
  --card-padding: 32px;
  background-image: linear-gradient(
    #e1e8e5 1px,
    transparent 1px
  ); /* Notebook lines */
  background-size: 100% 2rem;
  background-position: 0 0.5rem;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.1);
}

form {
  display: grid;
  gap: 18px;
  background: rgba(
    255,
    255,
    255,
    0.9
  ); /* Fade lines behind text for readability */
  padding: 20px;
  border-radius: 12px;
}

label {
  font-weight: 600;
  color: var(--color-forest);
}

input,
select,
textarea {
  padding: 14px;
  border-radius: 20px; /* Softer inputs */
  border: 1px solid rgba(32, 79, 59, 0.2);
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(187, 137, 113, 0.12);
  transition: border var(--transition-speed), box-shadow var(--transition-speed),
    background var(--transition-speed);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-ocean);
  box-shadow: 0 0 0 3px rgba(27, 115, 208, 0.18);
  background: rgba(187, 137, 113, 0.18);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.85rem;
  color: rgba(38, 50, 56, 0.6);
}

.faq {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.faq details {
  background: rgba(187, 137, 113, 0.18);
  padding: 18px 24px;
  border-bottom: 1px solid rgba(32, 79, 59, 0.1);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

/* Events */
.events-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.event-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(43, 98, 74, 0.4);
  background: rgba(187, 137, 113, 0.24);
  cursor: pointer;
  font-weight: 600;
  color: var(--color-forest);
  transition: all var(--transition-speed);
}

.filter-chip.is-active {
  background: var(--color-forest);
  color: #fff;
}

.events-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card[data-card="events-preview"] .events-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card.event-card {
  --card-padding: 28px;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.card.event-card::before {
  content: attr(data-type);
  position: absolute;
  top: 0;
  right: 0;
  background: var(--color-sunrise);
  color: #fff;
  padding: 8px 16px;
  border-bottom-left-radius: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.card.event-card .event-time {
  display: block;
}

.card[data-card="calendar"] {
  --card-padding: 24px;
  --card-radius: 28px;
}

.calendar header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  background: var(--color-sandstone-wash);
  padding: 12px;
  border-radius: 20px;
}

.calendar-cell {
  min-height: 120px;
  border-radius: 12px;
  border: none;
  padding: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.calendar-cell:hover {
  transform: scale(1.05);
  z-index: 2;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
}

.calendar-cell strong {
  font-size: 1rem;
  color: var(--color-forest);
  font-family: var(--font-heading);
}

.calendar-cell .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-sunrise);
  display: inline-block;
}

.calendar-cell .event-snippet {
  display: block;
  font-size: 0.75rem;
  color: var(--color-slate);
  background: rgba(111, 183, 179, 0.15);
  padding: 4px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 2px solid var(--color-seafoam);
}

/* Mission timeline */
.timeline {
  position: relative;
  padding-left: 40px;
  max-width: 800px;
  margin: 0 auto;
}

/* Wavy timeline line */
.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 6px;
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='20' viewBox='0 0 6 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 0c1.5 5 1.5 5 0 10s-1.5 5 0 10' stroke='%23e27035' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: repeat-y;
  opacity: 0.6;
}

.timeline-event {
  margin-bottom: 48px;
  padding: 24px;
  position: relative;
  background: #fff;
  border-radius: 20px 4px 20px 20px; /* Speech bubble shape */
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 112, 53, 0.2);
}

.timeline-event::before {
  content: "⚓"; /* Anchor icon instead of dot */
  position: absolute;
  left: -42px;
  top: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-sunrise);
  color: white;
  display: grid;
  place-items: center;
  font-size: 14px;
  box-shadow: 0 4px 8px rgba(226, 112, 53, 0.3);
  z-index: 2;
}

/* Connector line from bubble to timeline */
.timeline-event::after {
  content: "";
  position: absolute;
  left: -10px;
  top: 28px;
  width: 10px;
  height: 10px;
  background: #fff;
  transform: rotate(45deg);
  border-left: 1px solid rgba(226, 112, 53, 0.2);
  border-bottom: 1px solid rgba(226, 112, 53, 0.2);
}

.quote-block {
  background: var(--color-pearl);
  border-left: 6px solid var(--color-sunrise);
  border-radius: 28px 18px 22px 18px;
  padding: 28px 32px;
  border: 1px solid rgba(226, 112, 53, 0.2);
  box-shadow: 0 18px 36px rgba(32, 79, 59, 0.18);
}

.quote-block p {
  margin: 0;
  font-size: 1.1rem;
  color: var(--color-forest);
  font-style: italic;
}

.quote-block cite {
  display: block;
  margin-top: 18px;
  font-weight: 600;
  color: rgba(43, 98, 74, 0.85);
}

.join-intro {
  background: var(--color-pearl);
  padding: 32px;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  border: 2px solid rgba(43, 98, 74, 0.18);
  box-shadow: 0 22px 44px rgba(29, 22, 16, 0.16);
}

.join-intro h2 {
  margin-top: 0;
}

.join-intro p {
  color: rgba(38, 50, 56, 0.82);
}

.join-intro .form-note {
  background: rgba(111, 183, 179, 0.16);
  color: var(--color-deep-forest);
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(43, 98, 74, 0.18);
  margin-bottom: 0;
}

/* Contact */
.map-wrapper {
  position: relative;
  padding: 12px;
  background: #fff;
  border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
  box-shadow: var(--shadow-soft);
  transform: rotate(-1deg);
}

.map-wrapper::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  background: rgba(226, 112, 53, 0.2); /* Tape effect */
  z-index: 2;
}

.map-wrapper iframe {
  border: 0;
  width: 100%;
  height: 360px;
  border-radius: 20px;
  filter: sepia(0.2) contrast(1.1); /* Vintage map look */
}

.contact-info {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Footer */
.site-footer {
  background: var(--color-forest);
  color: #fff;
  padding: 48px 24px 24px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.footer-grid h4 {
  color: #fff;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 28px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.social-links a {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    background 0.3s ease;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.social-links a:hover {
  transform: translateY(-3px);
  background: var(--color-sunrise);
  color: #fff;
}

.footer-links {
  color: rgba(255, 255, 255, 0.86);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
}

.footer-links a:hover {
  color: #fff;
}

/* Responsive */
@media (max-width: 900px) {
  main {
    padding-top: 74px;
  }

  section {
    padding: 56px 20px;
  }

  .feature-section {
    padding: 42px;
  }

  .events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header .inner {
    padding: 14px 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 20px;
    background: rgba(32, 79, 59, 0.97);
    border-radius: 24px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    width: min(240px, 90vw);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--transition-speed),
      transform var(--transition-speed);
    flex-wrap: wrap;
    overflow: visible;
  }

  .primary-nav a {
    width: 100%;
    justify-content: flex-start;
  }

  .primary-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    padding: 120px 20px 90px;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .orb {
    display: none;
  }

  .hero-highlights {
    flex-direction: column;
    gap: 20px;
  }

  .hero-highlights li {
    min-width: auto;
  }

  .feature-section {
    padding: 32px;
  }

  section {
    padding: 48px 18px;
  }

  .tier-grid,
  .perk-grid {
    grid-template-columns: 1fr;
  }

  .ribbon-grid {
    grid-template-columns: 1fr;
  }

  .badge-row {
    justify-content: center;
  }

  .calendar-grid {
    gap: 6px;
  }

  .calendar-cell {
    min-height: 82px;
  }

  .form-card {
    padding: 24px;
  }

  .testimonials {
    grid-template-columns: 1fr;
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 0.95rem;
  }

  .site-header .inner {
    padding: 12px 16px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-logo {
    height: 36px;
  }

  section {
    padding: 44px 16px;
  }

  .feature-section {
    padding: 26px;
  }

  .hero {
    padding: 110px 16px 80px;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }

  .hero-highlights .stat {
    font-size: 1.8rem;
  }

  .hero-highlights span:last-child {
    font-size: 0.85rem;
  }

  .card {
    --card-padding: 24px;
  }

  .tier-card {
    padding: 24px;
  }

  .menu-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .card.menu-section {
    --card-padding: 24px;
  }

  .card.form-card {
    --card-padding: 20px;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  .pillar-grid,
  .events-grid,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .membership-ribbon {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .perk-card {
    padding: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Auth & Dashboards */
.auth-wrapper {
  min-height: calc(100vh - 84px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px;
  background: linear-gradient(
    135deg,
    rgba(32, 79, 59, 0.15),
    rgba(27, 115, 208, 0.12),
    rgba(226, 112, 53, 0.08)
  );
  position: relative;
  overflow: hidden;
}

.auth-wrapper::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 98, 74, 0.15), transparent);
  top: -200px;
  left: -200px;
  animation: float 20s ease-in-out infinite;
}

.auth-wrapper::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226, 112, 53, 0.12), transparent);
  bottom: -150px;
  right: -150px;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 30px) scale(1.1);
  }
}

.auth-card {
  width: min(480px, 100%);
  padding: 48px 42px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 100px rgba(24, 58, 45, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  display: grid;
  gap: 28px;
  position: relative;
  z-index: 1;
  animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-card h1 {
  margin: 0;
  text-align: center;
  background: linear-gradient(135deg, var(--color-forest), var(--color-ocean));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-card .eyebrow {
  text-align: center;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--color-sunrise);
  font-weight: 600;
}

.auth-card form {
  display: grid;
  gap: 20px;
}

.auth-card label {
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-forest);
  margin-bottom: 6px;
  display: block;
}

.auth-card input {
  width: 100%;
  padding: 14px 18px;
  border-radius: 14px;
  border: 2px solid rgba(38, 50, 56, 0.12);
  background: rgba(255, 255, 255, 0.98);
  font-size: 1rem;
  transition: all var(--transition-speed);
}

.auth-card input:hover {
  border-color: rgba(27, 115, 208, 0.3);
}

.auth-card input:focus-visible {
  border-color: var(--color-ocean);
  box-shadow: 0 0 0 5px rgba(27, 115, 208, 0.12),
    0 8px 20px rgba(27, 115, 208, 0.15);
  transform: translateY(-1px);
}

.auth-card .form-helper {
  font-size: 0.9rem;
  color: rgba(38, 50, 56, 0.65);
  line-height: 1.5;
  padding: 14px 18px;
  background: rgba(27, 115, 208, 0.06);
  border-radius: 12px;
  border-left: 4px solid var(--color-ocean);
}

.dashboard {
  padding: 120px 24px 80px;
  background: linear-gradient(
    180deg,
    rgba(242, 244, 243, 0.5),
    rgba(255, 255, 255, 0.8)
  );
  min-height: 100vh;
}

.dashboard .container {
  max-width: 1320px;
  width: 100%;
}

.dashboard-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 42px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(24, 58, 45, 0.12);
  border: 1px solid rgba(43, 98, 74, 0.08);
}

.dashboard-header h1 {
  margin: 0;
  background: linear-gradient(120deg, var(--color-forest), var(--color-ocean));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.dashboard-header .eyebrow {
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--color-sunrise);
  font-weight: 600;
  margin-bottom: 8px;
}

.dashboard-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-card {
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: 0 28px 65px rgba(24, 58, 45, 0.15),
    0 0 0 1px rgba(43, 98, 74, 0.08) inset;
  display: grid;
  gap: 22px;
  transition: all var(--transition-speed);
  border: 1px solid rgba(255, 255, 255, 0.6);
  min-width: 0;
}

.dashboard-card:hover {
  box-shadow: 0 32px 75px rgba(24, 58, 45, 0.2),
    0 0 0 1px rgba(43, 98, 74, 0.12) inset;
  transform: translateY(-2px);
}

.dashboard-card h2 {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(32, 79, 59, 0.1);
  color: var(--color-forest);
}

#section-bookings.dashboard-card {
  padding: 32px 40px;
}

.dashboard-card h3 {
  color: var(--color-deep-forest);
  font-size: 1.3rem;
  margin-top: 18px;
}

.dashboard-card form {
  display: grid;
  gap: 18px;
}

.dashboard-card form h3 {
  margin: 0 0 8px 0;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-forest);
}

.dashboard-card form h3::before {
  content: "";
  width: 4px;
  height: 18px;
  background: linear-gradient(180deg, var(--color-ocean), var(--color-forest));
  border-radius: 2px;
}

.dashboard-card label {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--color-deep-forest);
  margin-bottom: 6px;
  display: block;
}

.dashboard-card input:not([type="checkbox"]):not([type="radio"]),
.dashboard-card select,
.dashboard-card textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid rgba(38, 50, 56, 0.12);
  background: rgba(255, 255, 255, 0.98);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-speed);
  color: var(--color-slate);
}

.dashboard-card input:not([type="checkbox"]):not([type="radio"]):hover,
.dashboard-card select:hover,
.dashboard-card textarea:hover {
  border-color: rgba(27, 115, 208, 0.3);
  background: #fff;
}

.dashboard-card input:not([type="checkbox"]):not([type="radio"]):focus,
.dashboard-card select:focus,
.dashboard-card textarea:focus {
  outline: none;
  border-color: var(--color-ocean);
  box-shadow: 0 0 0 4px rgba(27, 115, 208, 0.12);
  background: #fff;
}

.dashboard-card textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.dashboard-card select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23204F3B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: end;
}

.form-row > * {
  margin: 0;
}

.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 2px solid rgba(38, 50, 56, 0.08);
  transition: all var(--transition-speed);
  margin: 0;
}

.checkbox-inline:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(27, 115, 208, 0.2);
}

.checkbox-inline input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin: 0;
}

.checkbox-inline span {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-deep-forest);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 8px;
  border-top: 1px solid rgba(43, 98, 74, 0.08);
  margin-top: 8px;
}

.form-note {
  font-size: 0.88rem;
  color: rgba(38, 50, 56, 0.65);
  line-height: 1.5;
  padding: 12px 16px;
  background: rgba(27, 115, 208, 0.06);
  border-radius: 10px;
  border-left: 3px solid var(--color-ocean);
  margin: 0;
}

.form-note[data-tone="success"] {
  background: rgba(43, 98, 74, 0.08);
  border-left-color: var(--color-forest);
  color: var(--color-forest);
}

.form-note[data-tone="error"] {
  background: rgba(177, 37, 21, 0.08);
  border-left-color: var(--color-coral);
  color: var(--color-coral);
}

.form-note[data-tone="info"] {
  background: rgba(226, 112, 53, 0.08);
  border-left-color: var(--color-sunrise);
  color: #c05920;
}

.form-section {
  border-top: 2px solid rgba(43, 98, 74, 0.08);
  padding-top: 24px;
  margin-top: 24px;
}

.form-section:first-child {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.dashboard-metric {
  display: grid;
  gap: 8px;
  padding: 26px 24px;
  border-radius: 22px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.96),
    rgba(236, 246, 242, 0.92)
  );
  border: 1px solid rgba(27, 115, 208, 0.15);
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
}

.dashboard-metric::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(27, 115, 208, 0.16), transparent);
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.dashboard-metric::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 115, 208, 0.08),
    transparent 55%
  );
  opacity: 0.4;
}

.dashboard-metric:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(27, 115, 208, 0.18);
}

.dashboard-metric:hover::before {
  opacity: 1;
}

.dashboard-metric span {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ocean);
  font-weight: 600;
}

.dashboard-metric strong {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  color: var(--color-forest);
  line-height: 1;
}

.booking-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.booking-card {
  padding: 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 40px rgba(24, 58, 45, 0.12);
  display: grid;
  gap: 14px;
  border: 1px solid rgba(43, 98, 74, 0.08);
  transition: all var(--transition-speed);
}

.booking-card:hover {
  box-shadow: 0 20px 48px rgba(24, 58, 45, 0.18);
  transform: translateY(-2px);
}

.booking-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(32, 79, 59, 0.1);
}

.booking-card header h3 {
  margin: 0;
  color: var(--color-forest);
  font-size: 1.25rem;
}

.booking-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(38, 50, 56, 0.7);
}

.booking-card .meta span {
  padding: 4px 10px;
  background: rgba(32, 79, 59, 0.06);
  border-radius: 8px;
  font-weight: 500;
}

.booking-card button {
  align-self: flex-start;
  margin-top: 8px;
}

.status-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.pending {
  background: rgba(226, 112, 53, 0.15);
  color: #d66229;
}

.status-badge.confirmed {
  background: rgba(43, 98, 74, 0.15);
  color: var(--color-forest);
}

.status-badge.cancelled {
  background: rgba(177, 37, 21, 0.15);
  color: var(--color-coral);
}

.dashboard-content {
  display: grid;
  gap: 36px;
  min-width: 0;
}

.data-table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 16px;
  margin: 0;
  padding-bottom: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(24, 58, 45, 0.12);
  border: 1px solid rgba(43, 98, 74, 0.08);
}

.data-table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  table-layout: auto;
}

.data-table thead tr {
  background: linear-gradient(
    135deg,
    var(--color-forest),
    var(--color-deep-forest)
  );
  color: #fff;
}

.data-table thead th {
  padding: 18px 22px;
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
}

.data-table tbody tr {
  transition: background-color var(--transition-speed),
    box-shadow var(--transition-speed);
  border-bottom: 1px solid rgba(32, 79, 59, 0.08);
}

.data-table tbody tr:nth-child(even) {
  background: rgba(242, 244, 243, 0.6);
}

.data-table tbody tr:hover {
  background: rgba(27, 115, 208, 0.08);
  box-shadow: inset 0 0 0 1px rgba(27, 115, 208, 0.12);
}

.data-table th,
.data-table td {
  padding: 16px 20px;
  vertical-align: middle;
  font-size: 0.92rem;
  line-height: 1.5;
}

.data-table td {
  color: var(--color-slate);
  font-weight: 500;
  word-break: break-word;
}

.data-table td:first-child {
  font-weight: 700;
  color: var(--color-forest);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.data-table .member-cell {
  max-width: 240px;
  min-width: 180px;
}

.data-table .member-name {
  font-weight: 700;
  color: var(--color-forest);
  display: block;
  margin-bottom: 4px;
  font-size: 0.96rem;
}

.data-table .member-email {
  font-size: 0.85rem;
  color: rgba(38, 50, 56, 0.65);
  display: block;
  word-break: break-word;
  padding: 4px 8px;
  background: rgba(27, 115, 208, 0.06);
  border-radius: 6px;
  font-family: "Courier New", monospace;
  display: inline-block;
}

.data-table .date-cell {
  white-space: nowrap;
  min-width: 150px;
  font-weight: 600;
  color: var(--color-deep-forest);
}

.data-table .time-display {
  display: block;
  font-size: 0.88rem;
  color: rgba(38, 50, 56, 0.65);
  white-space: nowrap;
  margin-top: 4px;
  padding: 3px 8px;
  background: rgba(226, 112, 53, 0.08);
  border-radius: 6px;
  display: inline-block;
  font-weight: 500;
}

.data-table td:nth-child(5),
.data-table td:nth-child(6),
.data-table td:nth-child(7) {
  text-align: center;
}

.data-table td:last-child {
  min-width: 160px;
}

.table-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.table-actions .btn {
  font-size: 0.85rem;
  padding: 6px 12px;
  white-space: nowrap;
}

.notice-card {
  padding: 20px 24px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(226, 112, 53, 0.12),
    rgba(226, 112, 53, 0.08)
  );
  color: var(--color-slate);
  font-size: 0.95rem;
  line-height: 1.6;
  border-left: 4px solid var(--color-sunrise);
  box-shadow: 0 8px 20px rgba(226, 112, 53, 0.15);
}

.notice-card code {
  background: rgba(255, 255, 255, 0.8);
  padding: 2px 8px;
  border-radius: 6px;
  font-family: "Courier New", monospace;
  font-size: 0.88rem;
  color: var(--color-deep-forest);
}

.data-empty {
  text-align: center;
  padding: 32px;
  color: rgba(38, 50, 56, 0.5);
  font-style: italic;
}

.menu-admin-category {
  padding: 24px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(242, 244, 243, 0.8)
  );
  border: 2px solid rgba(43, 98, 74, 0.1);
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(24, 58, 45, 0.08);
  transition: all var(--transition-speed);
}

.menu-admin-category:hover {
  border-color: rgba(27, 115, 208, 0.2);
  box-shadow: 0 12px 32px rgba(24, 58, 45, 0.12);
  transform: translateY(-2px);
}

.menu-admin-category header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(43, 98, 74, 0.12);
  margin-bottom: 12px;
}

.menu-admin-category header h3 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--color-forest);
  font-weight: 700;
}

.category-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.menu-admin-description {
  font-size: 0.9rem;
  color: rgba(38, 50, 56, 0.7);
  margin: 8px 0;
  line-height: 1.5;
  font-style: italic;
}

.menu-admin-order {
  font-size: 0.85rem;
  color: rgba(38, 50, 56, 0.6);
  margin: 4px 0 16px 0;
  padding: 6px 12px;
  background: rgba(27, 115, 208, 0.06);
  border-radius: 8px;
  display: inline-block;
  font-weight: 600;
}

.menu-items-admin {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.menu-admin-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(43, 98, 74, 0.08);
  transition: all var(--transition-speed);
}

.menu-admin-item:hover {
  background: #fff;
  border-color: rgba(27, 115, 208, 0.15);
  box-shadow: 0 4px 12px rgba(24, 58, 45, 0.08);
}

.menu-admin-item > div:first-child {
  flex: 1;
}

.menu-admin-item strong {
  display: block;
  font-size: 1rem;
  color: var(--color-deep-forest);
  margin-bottom: 6px;
  font-weight: 700;
}

.menu-admin-item-meta {
  font-size: 0.88rem;
  color: rgba(38, 50, 56, 0.65);
  margin: 3px 0;
  line-height: 1.4;
}

.menu-admin-item-meta:first-of-type {
  color: rgba(38, 50, 56, 0.75);
  font-weight: 500;
}

.menu-item-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.event-admin-card {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.95),
    rgba(242, 244, 243, 0.7)
  );
  border: 2px solid rgba(43, 98, 74, 0.1);
  margin-bottom: 16px;
  box-shadow: 0 6px 20px rgba(24, 58, 45, 0.08);
  transition: all var(--transition-speed);
}

.event-admin-card:hover {
  border-color: rgba(27, 115, 208, 0.2);
  box-shadow: 0 10px 28px rgba(24, 58, 45, 0.12);
  transform: translateY(-2px);
}

.event-admin-card header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(43, 98, 74, 0.1);
  margin-bottom: 10px;
}

.event-admin-card header h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--color-forest);
  font-weight: 700;
}

.event-admin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.event-admin-meta {
  font-size: 0.9rem;
  color: rgba(38, 50, 56, 0.7);
  margin: 6px 0;
  line-height: 1.5;
  padding: 4px 10px;
  background: rgba(27, 115, 208, 0.05);
  border-radius: 6px;
  display: inline-block;
  font-weight: 500;
}

.event-admin-meta + .event-admin-meta {
  margin-left: 8px;
}

.event-admin-description {
  font-size: 0.92rem;
  color: rgba(38, 50, 56, 0.75);
  line-height: 1.6;
  margin: 12px 0 8px 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  border-left: 3px solid var(--color-ocean);
}

.dashboard-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 36px;
  min-width: 0;
}

.dashboard-layout {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.dashboard-nav {
  position: sticky;
  top: 120px;
  align-self: start;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 45px rgba(24, 58, 45, 0.12);
  border: 1px solid rgba(43, 98, 74, 0.08);
  display: grid;
  gap: 16px;
}

.dashboard-nav .nav-eyebrow {
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--color-sunrise);
  font-weight: 600;
  margin: 0;
}

.dashboard-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.dashboard-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(27, 115, 208, 0.08);
  color: var(--color-deep-forest);
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-speed);
}

.dashboard-nav a:hover,
.dashboard-nav a:focus {
  background: rgba(27, 115, 208, 0.18);
  color: var(--color-forest);
  transform: translateX(2px);
}

.dashboard-content {
  display: grid;
  gap: 36px;
}

.dashboard-card {
  scroll-margin-top: 120px;
}

.dashboard-grid[data-columns="one"] {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-grid[data-columns="two"] {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.dashboard-grid[data-columns="three"] {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

@media (max-width: 720px) {
  .auth-card {
    padding: 36px 28px;
  }

  .dashboard-header {
    padding: 24px;
  }

  .dashboard-card {
    padding: 24px;
  }

  .dashboard-grid[data-columns="two"],
  .dashboard-grid[data-columns="three"] {
    grid-template-columns: 1fr;
  }

  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-nav {
    position: static;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .dashboard-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .dashboard-nav li {
    flex: 1 1 160px;
  }

  .dashboard-nav a {
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .booking-grid {
    grid-template-columns: 1fr;
  }

  .data-table {
    font-size: 0.88rem;
    min-width: 700px;
  }

  .data-table th,
  .data-table td {
    padding: 10px 8px;
  }

  .data-table th {
    font-size: 0.75rem;
  }

  .data-table .member-email {
    font-size: 0.8rem;
  }

  .table-actions .btn {
    font-size: 0.8rem;
    padding: 5px 10px;
  }
}

@media (max-width: 520px) {
  .data-table {
    min-width: 650px;
    font-size: 0.85rem;
  }

  .data-table th,
  .data-table td {
    padding: 8px 6px;
  }
}

/* New Sections */
.spotlight-section .card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.spotlight-placeholder {
  background: var(--color-seafoam);
  border-radius: 12px;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #fff;
  width: 100%;
}

@media (max-width: 768px) {
  .spotlight-section .card {
    grid-template-columns: 1fr;
  }
}

.newsletter-section .card {
  background: var(--color-deep-forest);
  color: white;
  text-align: center;
}

.newsletter-section .card p {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 0 8px rgba(111, 183, 179, 0.35);
}

.newsletter-section h2 {
  color: var(--color-seafoam);
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  max-width: 500px;
  margin: 1.5rem auto 0;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.95);
  font-family: inherit;
  font-size: 1rem;
  min-width: 0;
  transition: border-color var(--transition-speed),
    box-shadow var(--transition-speed);
}

.newsletter-form input[type="email"]:focus-visible {
  border-color: var(--color-seafoam);
  box-shadow: 0 0 0 4px rgba(111, 183, 179, 0.3);
}

.newsletter-form button {
  flex-shrink: 0;
}

.marquee-section {
  background: var(--color-midnight);
  color: #fff;
  padding: 12px 0;
  position: relative;
  overflow: hidden;
}

.marquee {
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 2rem;
  font-family: var(--font-heading);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  opacity: 0.8;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.soundscape {
  background: var(--color-soft-sand);
  padding: 72px 0;
}

.soundscape-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card[data-card="sound"] {
  background: #fff6ef;
  border-color: rgba(226, 112, 53, 0.4);
}

.tracklist {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 10px;
}

.tracklist li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(226, 112, 53, 0.12);
  font-size: 0.95rem;
}

.mixtape-card {
  background: var(--color-midnight);
  color: #fff;
  position: relative;
}

.mixtape-card::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.mixtape-notes {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 12px;
}

.mixtape-notes li {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.mixtape-notes strong {
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
}

.small-print {
  font-size: 0.85rem;
  opacity: 0.8;
}

.collage-section {
  background: var(--color-pearl);
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.collage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.collage-card {
  position: relative;
  padding: 18px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 10px 10px 0 rgba(32, 79, 59, 0.12);
  transform: rotate(-1deg);
}

.collage-card img {
  border-radius: 18px;
  height: 230px;
  width: 100%;
  object-fit: cover;
}

.collage-card figcaption {
  margin-top: 14px;
  font-size: 0.95rem;
}

.collage-card .tape {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 26px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.15);
}

.collage-card[data-tone="sun"] {
  transform: rotate(-2deg);
  border: 2px solid var(--color-sunrise);
}

.collage-card[data-tone="foam"] {
  transform: rotate(1.5deg);
  border: 2px solid var(--color-seafoam);
}

.collage-card[data-tone="clay"] {
  transform: rotate(-0.5deg);
  border: 2px solid var(--color-sandstone);
}

.collage-note {
  text-align: center;
  margin-top: 32px;
  font-style: italic;
  color: var(--color-espresso);
}

@media (max-width: 640px) {
  .marquee-track {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
  }

  .soundscape-grid {
    grid-template-columns: 1fr;
  }

  .collage-card img {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
  }
}

/* Animations */
.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, visibility;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Whimsical Touches */
h1,
h2,
h3 {
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='10' viewBox='0 0 100 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 5c10-5 20 5 30 0s20-5 30 0 20-5 30 0' stroke='%236fb7b3' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 40px 10px;
  margin-top: 4px;
  opacity: 0.6;
}

.pillar-icon {
  border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%; /* Blob shape for icons */
  background: var(--color-sandstone-wash);
  transform: rotate(-5deg);
  transition: transform 0.3s ease;
}

.pillar-icon:hover {
  transform: rotate(5deg) scale(1.1);
}

/* Event Ticket Styling */
.event-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border-left: 6px solid var(--color-seafoam);
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

.event-card::before {
  display: none;
}

.event-card--stub {
  flex-direction: row;
  gap: 1.1rem;
  align-items: flex-start;
}

.event-card--stub::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: #fff; /* Match page bg if possible, or transparent cutout look */
  border-radius: 50%;
  box-shadow: inset -2px 0 4px rgba(0, 0, 0, 0.1);
  display: block;
}

.event-card--stub .event-ticket-stub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 88px;
  text-align: center;
  border-right: 2px dashed var(--color-sandstone-wash);
  padding-right: 1.5rem;
}

.event-card--stub .event-details {
  padding-right: 0.5rem;
}

.event-type-badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--color-sandstone-wash);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--color-espresso);
}

.event-date-box .day {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-forest);
}

.event-date-box .month {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--color-sunrise);
}

.event-details {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.event-details h3 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.3;
}

.event-details .event-time {
  margin-top: auto;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-ocean);
  opacity: 0.85;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-top: 0.6rem;
}

@media (max-width: 600px) {
  .event-card {
    border-left: none;
    border-top: 8px solid var(--color-seafoam);
  }
  .event-card--stub {
    flex-direction: column;
  }
  .event-card--stub .event-ticket-stub {
    flex-direction: row;
    border-right: none;
    border-bottom: 2px dashed var(--color-sandstone-wash);
    padding-right: 0;
    padding-bottom: 1rem;
    width: 100%;
    justify-content: space-between;
  }
  .event-card--stub::before {
    display: none;
  }
}

/* Footer Wave */
.footer-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 0;
  pointer-events: none;
}

.site-footer {
  position: relative;
  padding-bottom: 120px; /* Make room for wave */
  overflow: hidden;
}

.footer-grid,
.footer-bottom {
  position: relative;
  z-index: 1;
}

/* Mobile Navigation & Layout Improvements */

/* Header Layout Adjustment for Mobile */
@media (max-width: 768px) {
  .site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(20, 46, 35, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .site-header .inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    min-height: 64px;
    position: relative;
  }

  .brand {
    padding: 6px 14px;
  }

  .brand-logo {
    height: 28px;
  }

  .brand-name {
    font-size: 0.85rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: auto;
    right: 0;
    width: 280px;
    height: auto;
    max-height: calc(100vh - 70px);
    background: rgba(20, 46, 35, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 12px;
    border-radius: 0 0 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
    box-shadow: -10px 20px 40px rgba(0, 0, 0, 0.3);
  }

  .primary-nav.is-open {
    display: flex;
    animation: slideDown 0.3s ease-out forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .primary-nav a {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 16px;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .primary-nav a:hover,
  .primary-nav a:focus {
    background: #fff;
    border-color: #fff;
    color: var(--color-forest);
    transform: translateY(-2px) rotate(-2deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .primary-nav a.nav-cta {
    background: var(--color-sunrise);
    border-color: var(--color-sunrise);
    color: #fff;
    margin-top: 12px;
    box-shadow: 0 4px 0 #b15626;
    transform: translateY(-2px);
  }

  .primary-nav a.nav-cta:hover,
  .primary-nav a.nav-cta:focus-visible {
    background: #f28755;
    border-color: #f28755;
    transform: translateY(-4px) rotate(2deg);
    box-shadow: 0 6px 0 #b15626;
    color: #fff;
  }
}

/* General Mobile Improvements */
@media (max-width: 640px) {
  h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .lead {
    font-size: 1.1rem;
  }

  section {
    padding: 48px 20px;
  }

  .hero-highlights {
    flex-direction: column;
    gap: 16px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
