/* ==========================================================================
   July Eleventh — Coming Soon (white, walking dogs along the bottom)
   TT Commons is still unpurchased, Hanken Grotesk stands in for it.
   ========================================================================== */

:root {
  --bg: #ffffff;
  --dark: #1b1611;
  --font-primary: 'Baloo Tammudu 2', sans-serif;
  --font-secondary: 'Hanken Grotesk', sans-serif;
}

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

html, body { height: 100%; }

body {
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font-secondary);
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
}

.cs-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh; /* visible height on phones, so the dogs sit at the real bottom edge */
  overflow: hidden;
  background: var(--bg);
}

#crowd-canvas {
  /* Fixed, and exactly as tall as the area that is ALWAYS visible (svh = the
     smallest viewport, i.e. with the browser toolbars showing). Chrome, Safari and
     the Instagram in-app browser all agree on this, so the dogs stand at the same
     visible bottom edge in every one of them. */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
}

.cs-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18vh 1.5rem 0;
  pointer-events: none;
}

.cs-overlay a { pointer-events: auto; }

.cs-logo {
  /* 100px on iPhone 17 (402px wide) -> 185px on MacBook Pro 16" (1728px wide), scales in between */
  width: clamp(100px, calc(74.2px + 6.41vw), 185px);
  height: auto;
  margin-bottom: clamp(2.5rem, 7vh, 4.5rem);
}

.cs-title {
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 1.1rem;
}

.cs-desc {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: clamp(0.9rem, 1.3vw, 1.05rem);
  line-height: 1.7;
  color: var(--dark);
}

.cs-desc .nowrap { white-space: nowrap; }

.cs-desc a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cs-desc a:hover { opacity: 0.65; }

.cs-connect-title {
  margin-top: clamp(1.8rem, 5vh, 3rem);
  font-family: var(--font-secondary);
  font-weight: 600;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--dark);
}

.cs-socials {
  display: flex;
  gap: 1.1rem;
  margin-top: 1.1rem;
}

.cs-socials a {
  display: block;
  width: 53px;
  height: 53px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.cs-socials a:hover { transform: translateY(-3px); opacity: 0.85; }

.cs-socials img { width: 100%; height: 100%; display: block; }

/* Phones: tighter spacing so the text block stays clear of the dogs at the bottom */
@media (max-width: 650px) {
  .cs-overlay { padding-top: 5vh; }
  .cs-logo { margin-bottom: 1.6rem; }
  .cs-title { margin-bottom: 0.2rem; line-height: 1.1; }
  .cs-desc { font-size: 0.9rem; line-height: 1.55; }
  .cs-connect-title { margin-top: 1.3rem; }
  .cs-socials { margin-top: 0.8rem; gap: 0.9rem; }
  .cs-socials a { width: 46px; height: 46px; }
}
