:root {
  --cream: #f8f8f6;
  --cream-bright: #fdfdfb;
  --charcoal: #2b2b2b;
  --muted: #6b6862;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background-color: var(--cream);
  color: var(--charcoal);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Soft warm radial glow echoing the logo image, with a gentle pulse. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    60% 50% at 50% 45%,
    var(--cream-bright) 0%,
    var(--cream) 70%
  );
  animation: glow-pulse 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 2.5rem);
  padding: 2rem 1.5rem;
  text-align: center;
}

.logo {
  display: block;
  width: min(80vw, 720px);
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  animation: breathe 7s ease-in-out infinite;
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.012);
  }
}

.status {
  margin: 0;
  text-align: center;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.4rem, 4.5vw, 2.25rem);
  font-weight: 500;
  color: var(--muted);
}

.cycler {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}

.caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 0.04em;
  background: currentColor;
  transform: translateY(0.14em);
  animation: blink 1s step-end infinite;
}

/* Caret stays solid while actively typing/deleting; blinks during the pauses. */
.cycler.typing .caret {
  animation: none;
  opacity: 1;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.about {
  margin-top: 2rem;
  max-width: 860px;
  text-align: center;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.78rem, 2vw, 0.92rem);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}

.about-title {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about p {
  margin: 0;
}

.waitlist-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75em 2em;
  background: var(--charcoal);
  color: var(--cream);
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
  transition: opacity 0.2s ease;
}

.waitlist-btn:hover {
  opacity: 0.8;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 1.5rem;
  text-align: center;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  font-weight: 400;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

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

.social-link {
  color: var(--charcoal);
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.social-link:hover {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  .logo,
  .caret {
    animation: none;
  }
}

/* ---------- Nav, events, what we built, about ---------- */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:focus-visible {
  outline: 3px solid var(--charcoal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Nav */
.topnav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 248, 246, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #ebe9e3;
}

.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1080px;
  height: 64px;
  margin: 0 auto;
  padding: 0 1rem;
}

.topnav-logo img {
  display: block;
  height: 22px;
  width: auto;
}

.topnav-links {
  display: none;
  gap: 0.25rem;
}

.topnav-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.topnav-links a:hover {
  color: var(--charcoal);
}

@media (min-width: 720px) {
  .topnav-links {
    display: flex;
  }
}

.topnav .waitlist-btn {
  margin: 0;
  padding: 0.55em 1.4em;
  font-size: 0.9rem;
}

/* Hero: compact, so events show without scrolling far */
.stage {
  flex: none;
  padding: clamp(3rem, 9vw, 5.5rem) 1.5rem clamp(2rem, 6vw, 3rem);
}

.logo {
  width: min(80vw, 640px);
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 3rem 1rem;
  color: var(--charcoal);
}

.section-label {
  margin: 0 0 1.25rem;
  text-align: center;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Calendar */
.calendar-frame {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e7e5df;
  border-radius: 20px;
}

.calendar-frame iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

.calendar-foot {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.calendar-foot a {
  color: var(--charcoal);
  font-weight: 500;
}

/* What we built */
.made {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .made {
    grid-template-columns: 1fr 1fr;
  }
}

.made a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e7e5df;
  border-radius: 16px;
  text-decoration: none;
  color: var(--charcoal);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.made a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -20px rgba(43, 43, 43, 0.35);
}

.made .icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  font-size: 1.5rem;
}

.made .icon.coffee {
  background: #2b2a28;
}

.made h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.made p {
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
}

.made .go {
  margin-left: auto;
  color: var(--muted);
}

/* About */
.section .about {
  margin: 0 auto;
}

.about-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
