/*
Theme Name: Backgammon and Wax v2
Theme URI: https://backgammonandxax.com/
Author: Roxanna Maynard
Author URI: https://backgammonandxax.com/
Description: Custom WordPress theme for Backgammon and Wax landing page.
Version: 1.1.1
Text Domain: bgwax
*/

@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&display=swap');

/* Comment */

:root {
  --charcoal: #2b2a28;
  --ash: #3c3a36;
  --smoke: #6a665e;
  --stone: #a6a095;
  --cream: #f5f1ea;
  --bone: #e8e1d7;
  --sand: #d8cfbf;
  --error: #8c3a2b;
  --accent: #3f9b74;

  --color-black: var(--charcoal);
  --color-white: var(--cream);
  --color-bone: var(--bone);
  --color-green: var(--accent);
  --color-red: var(--error);

  --bg-dark: var(--charcoal);
  --bg-soft: rgba(43, 42, 40, 0.92);
  --accent-secondary: var(--stone);
  --accent-soft: rgba(111, 127, 106, 0.7);
  --text-main: var(--cream);
  --text-muted: rgba(245, 241, 234, 0.75);
  --border-subtle: rgba(245, 241, 234, 0.18);
  --card-bg: rgba(245, 241, 234, 0.08);
  --danger: var(--error);
  --success: var(--accent);
  --copy-max: 40rem;
  --space-section: clamp(4rem, 8vw, 6.5rem);
  --space-section-tight: clamp(2.5rem, 5vw, 3.75rem);
  --space-stack-sm: 0.85rem;
  --space-stack-md: 1.25rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-size: clamp(16px, 0.3vw + 15px, 18px);
  background: radial-gradient(circle at top, #242322 0, #141312 55%, #0a0908 100%);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

p,
li {
  font-size: 1rem !important;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.hero-kicker,
.section-title,
.section-kicker,
.event-label {
  font-family: "Bungee", "Fredoka", cursive;
}

.brand-title,
.brand-sub,
.logo-mark {
  font-family: "Bungee", "Fredoka", cursive;
}

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

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1120px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
  position: relative;
}

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

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 10%, var(--color-white), var(--accent) 45%, var(--accent-secondary));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.2),
    0 0 22px rgba(63, 155, 116, 0.5);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-black);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-title {
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-family: "Inter", "DM Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.25rem;
  font-weight: 650;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--accent-soft));
  transition: width 0.2s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding-bottom: 0;
  color: var(--text-muted);
}

.nav-icon-link::after {
  display: none;
}

.nav-icon-link:hover {
  color: var(--text-main);
}

.social-icon,
.cart-icon {
  width: 22px;
  height: 22px;
  display: block;
}

.cart-count {
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.25rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--color-bone);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links.is-open {
  display: flex;
}

.nav-cta {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--color-bone);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid var(--accent);
  box-shadow: none;
  white-space: nowrap;
}

.nav-cta:hover {
  filter: brightness(1.08);
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border-subtle);
  background: transparent;
  border-radius: 999px;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 3px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-main);
}

.hero {
  position: relative;
  padding: 3rem 0 4rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.85)),
    url("https://backgammonandwax.com/wp-content/uploads/2026/01/2025-04-23-43-11R-DLMDD-Backgammon-Wax-J1.jpg");
  background-size: cover, cover;
  background-position: center, center bottom;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh;
}

.hero-video {
  background: #000;
  padding: var(--space-section-tight) 0;
}

.hero-video-embed {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.hero-video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}


.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: clamp(0.82rem, 0.35vw + 0.76rem, 0.98rem);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.25rem, 6vw, 4.75rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0;
  white-space: nowrap;
  color: var(--color-bone);
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.hero-logo {
  width: clamp(120px, 18vw, 180px);
  margin: 0 auto 1rem;
  animation: hero-logo-spin 1.1s ease-out 1;
}

@keyframes hero-logo-spin {
  from {
    transform: rotate(-360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo {
    animation: none;
  }
}

.hero-title span.highlight {
  color: var(--color-bone);
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 1.4rem;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.8rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.55);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 36rem;
}

.hero-meta li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.hero-meta li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(63, 155, 116, 0.6);
  flex-shrink: 0;
}

.hero-meta li:nth-child(1)::before,
.hero-meta li:nth-child(3)::before {
  background: var(--accent-secondary);
  box-shadow: 0 0 8px rgba(249, 1, 17, 0.6);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(63, 155, 116, 0.6);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  background: rgba(63, 155, 116, 0.12);
  margin-bottom: 1.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}

.btn-primary {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--color-bone);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: none;
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-outline {
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: rgba(0, 0, 0, 0.85);
  color: var(--accent);
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-outline:hover {
  border-color: var(--color-white);
  color: var(--color-bone);
}

.hero-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-media {
  position: relative;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(63, 155, 116, 0.16), rgba(0, 0, 0, 0.92) 60%);
  border-radius: 1.7rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 22px 45px rgba(0, 0, 0, 0.8),
    0 0 60px rgba(0, 0, 0, 0.7);
  padding: 1.4rem 1.4rem 1.2rem;
  position: relative;
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.event-chip {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-soft);
}

.event-title {
  font-size: 1.1rem;
  font-weight: 650;
  margin-top: 0.2rem;
}

.event-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.event-badge {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(63, 155, 116, 0.8);
  color: var(--success);
  background: rgba(63, 155, 116, 0.12);
}

.board-preview {
  margin: 0.6rem 0 1rem;
  border-radius: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.9rem;
  background: conic-gradient(
    from 135deg,
    rgba(63, 155, 116, 0.15),
    rgba(0, 0, 0, 0.85),
    rgba(255, 255, 255, 0.05),
    rgba(0, 0, 0, 0.85),
    rgba(63, 155, 116, 0.15)
  );
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
}

.point {
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--accent), rgba(63, 155, 116, 0.5));
  position: relative;
  overflow: hidden;
}

.point:nth-child(2n) {
  background: linear-gradient(to bottom, var(--accent-secondary), rgba(249, 1, 17, 0.5));
}

.checker {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.6);
  background: radial-gradient(circle at 30% 20%, var(--color-white), rgba(255, 255, 255, 0.7));
  box-shadow: 0 4px 7px rgba(0, 0, 0, 0.7);
}

.checker.dark {
  background: radial-gradient(circle at 30% 20%, rgba(0, 0, 0, 0.6), var(--color-black));
}

.checker.c1 { top: 6px; left: 50%; transform: translateX(-50%); }
.checker.c2 { top: 20px; left: 50%; transform: translateX(-50%); }
.checker.c3 { top: 34px; left: 50%; transform: translateX(-50%); }

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  gap: 0.75rem;
}

.spots {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.spots strong {
  color: var(--accent-soft);
}

.mini-avatars {
  display: flex;
  align-items: center;
}

.mini-avatars span {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.85);
  background: radial-gradient(circle at 30% 10%, var(--color-white), var(--accent) 45%, var(--accent-secondary));
  margin-left: -6px;
}

.mini-avatars span:first-child {
  margin-left: 0;
}

.hero-tag {
  position: absolute;
  right: -20px;
  top: 32%;
  transform: rotate(11deg);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-black);
  padding: 0.2rem 1.5rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(0, 0, 0, 0.6);
}

section {
  padding: var(--space-section) 0;
}

/* ── Carousel ── */
.carousel-section { padding: 0; overflow: hidden; }
.carousel { position: relative; width: 100%; height: clamp(320px, 50vw, 600px); overflow: hidden; background: #0a0908; }
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; z-index: 0; }
.carousel-slide.is-active { opacity: 1; z-index: 1; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(0,0,0,0.45); color: var(--cream,#f5f1ea); border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(6px); transition: background 0.2s ease, border-color 0.2s ease; }
.carousel-btn:hover { background: rgba(0,0,0,0.7); border-color: rgba(255,255,255,0.3); }
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }
.carousel-dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; gap: 0.5rem; }
.carousel-dot { width: 10px; height: 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.5); background: rgba(255,255,255,0.2); cursor: pointer; transition: background 0.2s ease, transform 0.2s ease; padding: 0; }
.carousel-dot.is-active { background: var(--accent,#3f9b74); border-color: var(--accent,#3f9b74); transform: scale(1.2); }
@media (max-width: 640px) { .carousel { height: clamp(220px,60vw,360px); } .carousel-btn { width: 36px; height: 36px; font-size: 1rem; } .carousel-prev { left: 0.5rem; } .carousel-next { right: 0.5rem; } }

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-stack-sm);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.section-header-centered {
  align-items: center;
  text-align: center;
}

.section-header-centered .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: clamp(0.74rem, 0.2vw + 0.7rem, 0.86rem);
  color: var(--accent);
  font-weight: 700;
}

.section-title {
  font-size: clamp(1.75rem, 1vw + 1.4rem, 2.6rem);
  font-weight: 650;
  line-height: 1.15;
}

.section-intro {
  font-size: clamp(1rem, 0.28vw + 0.94rem, 1.1rem);
  max-width: var(--copy-max);
  color: var(--text-muted);
  line-height: 1.75;
}

#how-it-works .section-intro {
  max-width: none;
}

#about .section-intro {
  max-width: none;
}

#about .section-intro a:hover,
#about .section-intro a:focus-visible {
  text-decoration: underline;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.welcome-copy {
  display: flex;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: flex-start;
}

.welcome-copy .section-header {
  flex: 1 1 0;
  margin-bottom: 0;
}

.welcome-copy .section-intro {
  font-size: clamp(1rem, 0.35vw + 0.96rem, 1.12rem);
  max-width: none;
}

.welcome-copy .about-points {
  flex: 1 1 0;
  margin-top: 0;
}

.about-media {
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
}

.about-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

#about .about-media {
  flex: 0 0 clamp(360px, 34vw, 500px);
}

#about .section-header {
  flex: 1 1 min(34rem, 100%);
}

.about-layout {
  display: flex;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 900px) {
  .about-layout {
    flex-direction: column;
  }

  #about .about-media {
    width: 100%;
  }

  .about-media {
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .about-media {
    overflow: visible;
    border-radius: 0.75rem;
  }

  .about-media img {
    width: 100%;
    height: auto;
  }
}

.about-points {
  display: grid;
  gap: var(--space-stack-md);
  margin-top: 0;
}

.about-point {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-point:first-child {
  padding-top: 0;
  border-top: 0;
}

.about-badge {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(63, 155, 116, 0.8);
  display: block;
  object-fit: cover;
  flex-shrink: 0;
}

.about-point h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.about-point p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.about-feature {
  margin-top: 1rem;
}

.about-feature h3 {
  font-size: 0.98rem;
  margin-bottom: 0.2rem;
}

.about-feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-link-btn {
  margin-top: 0.6rem;
}

.about-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.about-link a {
  color: var(--accent);
  text-decoration: underline;
}

.about-point a {
  color: var(--accent);
  text-decoration: underline;
}

.about-card {
  background: radial-gradient(circle at top, rgba(63, 155, 116, 0.12), rgba(0, 0, 0, 0.92) 52%);
  border-radius: 1.4rem;
  padding: 1.2rem 1.3rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.85);
  font-size: 0.9rem;
}

.about-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.about-card strong {
  color: var(--accent-soft);
}

.about-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.event-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: var(--card-bg);
  border-radius: 1.3rem;
  padding: 1.35rem;
  border: 1px solid var(--border-subtle);
  box-shadow: none;
}

.event-media {
  flex: 0 0 160px;
  height: 160px;
  border-radius: 0.9rem;
  overflow: hidden;
  background: transparent;
}

.event-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
}

.event-date-range {
  font-size: 1rem;
  font-weight: 600;
}

.event-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.event-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
  line-height: 1.2;
}

.event-title-link {
  color: var(--color-bone);
  text-decoration: none;
}

.event-title-link:hover {
  color: var(--accent);
}

.event-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

.event-location {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-bone);
  text-decoration: none;
  line-height: 1.6;
}

.event-location:hover {
  color: var(--accent);
}

.event-cta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 160px;
  text-align: right;
}

.btn-sm {
  font-size: 0.84rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-sm.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--color-bone);
  font-weight: 600;
}

.btn-sm.sold-out {
  border-color: var(--color-red);
  background: var(--color-red);
  color: var(--color-bone);
  font-weight: 600;
}

.btn-sm.is-inactive {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border-subtle);
  cursor: not-allowed;
}

.btn-sm.primary:hover {
  filter: brightness(1.06);
}

.btn-sm.secondary:hover {
  border-color: var(--color-white);
  color: var(--color-bone);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.9rem;
}

.step {
  background: var(--card-bg);
  border-radius: 1.1rem;
  padding: 1rem 1rem 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: none;
}

.step-num,
p.step-num {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
  font-family: "Bungee", "Fredoka", cursive;
  margin-bottom: 0.25rem;
}

.step h3 {
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}

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

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2.4rem;
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.88rem;
}

.benefit {
  background: var(--card-bg);
  border-radius: 1rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid var(--border-subtle);
}

.benefit h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.benefit p {
  color: var(--text-muted);
}

.highlights-card {
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.92) 56%);
  border-radius: 1.4rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.85);
  font-size: 0.85rem;
}

.highlight-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.highlight-label {
  color: var(--text-muted);
}

.highlight-value {
  font-weight: 600;
}

.highlight-tag {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  color: var(--accent-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2rem;
}

.gallery-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.gallery-embed {
  border-radius: 1.4rem;
  border: 1px solid var(--border-subtle);
  background: var(--card-bg);
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  width: 100%;
}

.instagram-feed {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.instagram-feed .ig-item {
  display: block;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  aspect-ratio: 1 / 1;
}

.instagram-feed .ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instagram-section {
  padding: var(--space-section-tight) 0;
}

.gallery-carousel-row {
  margin-top: 2rem;
  border-radius: 1.4rem;
  padding: 1rem 1.25rem 1.5rem;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.9) 60%);
}

.gallery-carousel-row h2,
.gallery-carousel-row h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.gallery-carousel-row p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.gallery-carousel {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-track {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  scroll-behavior: smooth;
  padding-bottom: 0.35rem;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-item {
  flex: 0 0 calc((100% - 4rem) / 5);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.6);
  font-size: 0.75rem;
}

.carousel-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.carousel-item figcaption {
  padding: 0.6rem 0.7rem;
  text-align: left;
}

.gallery-carousel-row .gallery-carousel:focus-within .carousel-track,
.gallery-carousel-row .gallery-carousel:hover .carousel-track {
  overflow-x: auto;
}

.carousel-nav {
  border: none;
  color: var(--color-bone);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  padding: 0;
  line-height: 1;
  flex: 0 0 auto;
  font-weight: 700;
}

.carousel-nav.prev {
  background: var(--accent-secondary);
}

.carousel-nav.next {
  background: var(--accent);
}

.carousel-nav:hover {
  filter: brightness(1.15);
}

.photo-masonry {
  padding: 4rem 0;
}

.photo-masonry .section-header {
  margin-bottom: 2rem;
}

.masonry-grid {
  column-count: 3;
  column-gap: 1.25rem;
}

.masonry-card {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  background: #fefdf8;
  padding: 0.75rem 0.75rem 1.4rem;
  border-radius: 0.5rem;
  box-shadow:
    0 18px 28px rgba(0, 0, 0, 0.45),
    0 4px 25px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  transform-origin: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.masonry-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.3rem;
}

.masonry-card figcaption {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #1f1a12;
  font-family: "Caveat", cursive;
}

.masonry-card:nth-of-type(4n) {
  transform: rotate(-1.5deg);
}

.masonry-card:nth-of-type(4n-1) {
  transform: rotate(1.5deg);
}

.masonry-card:nth-of-type(5n) {
  transform: rotate(-0.8deg);
}

.masonry-card:hover {
  transform: scale(1.015);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.55),
    0 10px 30px rgba(0, 0, 0, 0.35);
}
@media (max-width: 1024px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .masonry-grid {
    column-count: 1;
  }
}

@media (max-width: 1200px) {
  .carousel-item {
    flex: 0 0 calc((100% - 3rem) / 4);
  }
}

@media (max-width: 900px) {
  .carousel-item {
    flex: 0 0 calc((100% - 2rem) / 3);
  }
}

@media (max-width: 640px) {
  .hero-title {
    white-space: normal;
    font-size: clamp(2.4rem, 9vw, 3.4rem);
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  transform: translateY(-120%);
  transition: transform 0.3s ease;
}

.site-header.is-visible {
  transform: translateY(0);
}

body {
  padding-top: 0;
}

@media (max-width: 640px) {
  .carousel-item {
    flex: 0 0 100%;
  }
}

@media (max-width: 440px) {
  .carousel-item {
    flex: 0 0 100%;
  }
}

.newsletter {
  background: var(--bg-soft);
  border-radius: 1.6rem;
  padding: 1.4rem 1.5rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 1rem;
}

.newsletter-copy {
  max-width: 25rem;
  text-align: left;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.newsletter-form .newsletter-input,
.newsletter-form .btn-primary {
  width: 100%;
  max-width: 320px;
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  width: 100%;
  max-width: 320px;
}

.newsletter-consent input {
  margin-top: 0.15rem;
}

.newsletter-input {
  padding: 0.6rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.85);
  color: var(--text-main);
  min-width: 220px;
  font-size: 0.86rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

#newsletter {
  padding: var(--space-section-tight) 0;
}

.site-footer {
  margin-top: auto;
  background-color: var(--bg-dark);
  color: var(--text-main);
  padding: 2rem 0;
}

.site-footer .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  background-color: rgba(245, 241, 234, 0.12);
}

.instagram-icon {
  fill: currentColor;
  width: 18px;
  height: 18px;
}

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

@media (max-width: 600px) {
  .site-footer .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1rem;
    padding-top: 0.75rem;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-soft);
    border: 1px solid var(--border-subtle);
    border-radius: 1rem;
    padding: 1rem;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

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

  .hero-media {
    order: -1;
  }

  .about-grid,
  .why-grid,
  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .welcome-copy {
    flex-direction: column;
  }

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

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

  .event-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-media {
    width: 100%;
    height: auto;
    flex: 0 0 auto;
  }

  .event-date,
  .event-cta {
    width: 100%;
    min-width: auto;
  }

  .event-cta {
    text-align: left;
  }

  .event-cta .btn-sm {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .hero {
    padding-top: 2.4rem;
  }

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

  .hero-card {
    border-radius: 1.3rem;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(10, 12, 10, 0.82);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2000;
}

.lightbox:target {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: min(960px, 92vw);
  max-height: 88vh;
  background: #0e0f0d;
  border-radius: 16px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  overflow: auto;
}

.lightbox-content img {
  display: block;
  max-width: 92vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  inset: 0;
}

.featured-section {
  padding: var(--space-section-tight) 0;
}

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

.featured-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  background: var(--card-bg);
  border-radius: 1.4rem;
  padding: 0;
  border: 1px solid var(--border-subtle);
  box-shadow: none;
  overflow: hidden;
}

.featured-card-body {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.featured-card-body h3 {
  margin-top: 0;
}

.featured-card-body p {
  margin: 0.4rem 0 0.6rem;
  color: var(--text-muted);
}

.featured-thumb {
  width: 160px;
  height: 100%;
  object-fit: cover;
  border-left: 1px solid var(--border-subtle);
}

.featured-link {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--accent);
}

.featured-link a {
  color: var(--accent);
  text-decoration: underline;
}

.shop-section {
  padding: var(--space-section-tight) 0;
}

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

.shop-card,
.shop-empty {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 1.35rem;
  overflow: hidden;
}

.shop-card-media {
  display: block;
  background: rgba(0, 0, 0, 0.28);
  aspect-ratio: 4 / 3;
}

.shop-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-family: "Bungee", "Fredoka", cursive;
  font-size: clamp(1.4rem, 2vw, 2rem);
  color: rgba(245, 241, 234, 0.75);
}

.shop-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
}

.shop-card-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
}

.shop-card h3 {
  font-size: 1.08rem;
  line-height: 1.25;
}

.shop-card-price {
  font-size: 0.98rem;
  color: var(--color-bone);
}

.shop-empty {
  padding: 1.5rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .featured-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .featured-thumb {
    width: 120px;
    height: 100%;
    border-left: 1px solid var(--border-subtle);
  }
}
