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

:root {
    --green-mid: #87A290;
    --green-dark: #5a7a66;
    --green-darker: #3f5c4a;
    --sage-link: #2e4d3c;
    --text-dark: #1a1a1a;
    --text-mid: #2a2a2a;
    --rule: rgba(63, 92, 74, 0.35);
    --box-bg: rgba(255, 255, 255, 0.15);
    --box-border: rgba(255, 255, 255, 0.28);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--green-mid);
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
}

@media (hover: hover) and (pointer: fine) {
    body, a, button, [role="button"], .rotate-handle, #footerBannerImg,
    .footer-disclaimer-wrap::after {
        cursor: none !important;
    }
}

a { color: var(--sage-link); font-weight: 600; }
a:hover { color: var(--green-darker); }

#speckle-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

#trail-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
}

.corner-icon {
    position: fixed;
    width: 18px;
    height: 18px;
    pointer-events: none;
    z-index: 150;
    opacity: 0.48;
}
.corner-icon.corner-tl {
    top: 16px;
    left: 16px;
    border-top: 2px solid var(--green-darker);
    border-left: 2px solid var(--green-darker);
}
.corner-icon.corner-br {
    bottom: 16px;
    right: 16px;
    border-bottom: 2px solid var(--green-darker);
    border-right: 2px solid var(--green-darker);
}

.hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 12.5% 48px;
}

.logo-wrap {
    width: 75%;
    max-width: 1200px;
    position: relative;
    display: inline-block;
}

.logo-inner {
    position: relative;
    transform-origin: center center;
    display: inline-block;
    width: 100%;
}

.logo-wrap img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.rotate-handle {
    position: absolute;
    bottom: -14px;
    right: -28px;
    width: 50px;
    height: 26px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0.82;
    transition: opacity 0.15s ease;
}
.rotate-handle:hover { opacity: 1; }

.rotate-handle svg {
    width: 50px;
    height: 26px;
    pointer-events: none;
    overflow: visible;
    transform: rotate(135deg) scaleX(-1);
}

.tagline {
    margin-top: 26px;
    font-family: 'Space Mono', monospace;
    font-size: clamp(0.85rem, 1.6vw, 1.1rem);
    letter-spacing: 0.1em;
    color: var(--green-darker);
    opacity: 0.78;
    text-align: center;
}

.about-anchor { scroll-margin-top: 20px; }

.rsvp-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 52px;
    background-color: var(--green-dark);
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    border-radius: 100px;
    transition: background-color 0.25s ease, transform 0.2s ease;
}
.rsvp-btn:hover {
    background-color: var(--green-darker);
    color: #fff;
    transform: scale(1.06);
}

.constraint-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-darker);
    opacity: 0.7;
    margin-bottom: 20px;
}
.constraint-label::before,
.constraint-label::after {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--green-darker);
    opacity: 0.5;
}

.about-block {
    margin-top: 48px;
    width: 75%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.description {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text-dark);
}
.description + .description { margin-top: 24px; }

.bonus-box {
    margin-top: 32px;
    width: 100%;
    background: rgba(63, 92, 74, 0.12);
    border: 1.5px solid rgba(63, 92, 74, 0.3);
    border-left: 4px solid var(--green-darker);
    border-radius: 4px;
    padding: 20px 24px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-dark);
    text-align: center;
}

.tier-section {
    position: relative;
    z-index: 1;
    padding: 24px 12.5% 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-width: 900px;
    margin-top: 8px;
}

.tier-card {
    background: var(--box-bg);
    border: 1px solid var(--box-border);
    border-radius: 4px;
    padding: 20px 18px;
    position: relative;
    overflow: hidden;
}
.tier-card::before {
  content: '';
  position: absolute;
  top: 6px; left: 6px;
  width: 8px; height: 8px;
  border-top: 1.5px solid var(--green-darker);
  border-left: 1.5px solid var(--green-darker);
  opacity: 0.45;
}
.tier-card::after {
  content: '';
  position: absolute;
  bottom: 6px; right: 6px;
  width: 8px; height: 8px;
  border-bottom: 1.5px solid var(--green-darker);
  border-right: 1.5px solid var(--green-darker);
  opacity: 0.45;
}
.tier-card .tier-name {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-darker);
  opacity: 0.75;
  margin-bottom: 6px;
}
.tier-card .tier-hours {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.tier-card .tier-prize {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-dark);
}

.gallery-section {
    position: relative;
    z-index: 1;
    margin-top: 64px;
    scroll-margin-top: 20px;
}

.gallery-headline {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.image-strip-clip {
  overflow: hidden;
  padding: 52px 0;
  margin: -52px 0;
}

.image-strip-wrapper {
  position: relative;
  background: rgba(0,0,0,0.13);
  transform: skewY(-2.4deg);
  transform-origin: center center;
  overflow: hidden;
  padding: 44px 0;
  cursor: none;
}

.image-strip-wrapper::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.18) 0px,
    rgba(255,255,255,0.18) 6px,
    transparent 6px,
    transparent 18px
  );
  z-index: 2;
}
.image-strip-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    rgba(255,255,255,0.18) 0px,
    rgba(255,255,255,0.18) 6px,
    transparent 6px,
    transparent 18px
  );
  z-index: 2;
}

.image-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
}

.image-track-item {
  width: calc(25vw - 14px);
  min-width: 260px;
  max-width: 340px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(0,0,0,0.22);
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.22);
}

.image-track-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
}

.faq-section {
  position: relative;
  z-index: 1;
  padding: 80px 12.5% 24px;
  scroll-margin-top: 20px;
}

.faq-heading {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 40px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-box {
  background: var(--box-bg);
  border: 1px solid var(--box-border);
  border-radius: 4px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}
.faq-box::before {
  content: '';
  position: absolute;
  top: 6px; left: 6px;
  width: 7px; height: 7px;
  border-top: 1.5px solid var(--green-darker);
  border-left: 1.5px solid var(--green-darker);
  opacity: 0.3;
}
.faq-box:hover {
  background: rgba(255,255,255,0.25);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.faq-box h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.faq-box p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-mid);
}

.section-rule-wrap {
  position: relative;
  z-index: 1;
  margin: 80px 12.5% 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-rule-wrap::before {
  content: '';
  display: block;
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: var(--rule);
}

.footer-banner {
  position: relative;
  z-index: 1;
  margin: 20px 12.5% 0;
  border-radius: 6px;
  overflow: hidden;
  height: clamp(72px, 11vw, 126px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 24px 12.5% 0;
  position: relative;
  z-index: 1;
}

footer {
  position: relative;
  z-index: 1;
  padding: 28px 12.5%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-madeby {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-mid);
  letter-spacing: 0.06em;
  opacity: 0.85;
}
.footer-madeby .heart { color: var(--green-dark); }

.footer-disclaimer-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

@media (min-width: 640px) {
  .footer-disclaimer-wrap::after {
    content: '';
    position: absolute;
    inset: -4px -8px;
    z-index: 2;
  }
}

.footer-disclaimer {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-mid);
  letter-spacing: 0.06em;
  opacity: 0.7;
  text-align: center;
  cursor: default;
  display: block;
  line-height: 1.6;
  white-space: normal;
  word-break: break-word;
}

@media (min-width: 640px) {
  .footer-disclaimer { white-space: nowrap; }
}

.footer-disclaimer .char { display: inline; }

@media (max-width: 1024px) {
  .footer-banner { display: none; }
  .footer-divider { margin-top: 40px; }
}

@media (max-width: 700px) {
  .logo-wrap, .about-block { width: 90%; }
  .hero { padding: 40px 5% 36px; }
  .faq-section { padding: 48px 5% 24px; }
  .faq-grid { grid-template-columns: 1fr; }
  .tier-grid { grid-template-columns: 1fr; }
  .tier-section { padding: 24px 5% 0; }
  .footer-divider { margin: 20px 5% 0; }
  .corner-icon { width: 13px; height: 13px; }
  .corner-icon.corner-tl { top: 10px; left: 10px; }
  .corner-icon.corner-br { bottom: 10px; right: 10px; }
}
