/* Bunk-a-Maps flyer.
   Palette keyed to the logo mark (#03565A deep teal).
   Light backgrounds, dark text, high contrast throughout. */

:root {
  --teal:       #03565A;   /* logo / primary */
  --teal-deep:  #022E31;   /* headings, body text */
  --teal-soft:  #E4EFEF;   /* tint panels */
  --amber:      #C8792E;   /* CTA accent */
  --amber-deep: #A65F1C;   /* CTA hover */
  --paper:      #FFFFFF;
  --cream:      #F7F5F0;   /* section alt background */
  --line:       #D4DEDE;
  --ink:        #1A2626;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--teal-deep);
  line-height: 1.1;
  margin: 0 0 .5rem;
}

a { color: var(--teal); }

/* ---- Hero ---------------------------------------------------------- */
.hero {
  background:
    radial-gradient(120% 90% at 50% -10%, var(--teal-soft) 0%, var(--paper) 60%);
  padding: 4.5rem 1.5rem 4rem;
  text-align: center;
}
.hero-inner { max-width: 680px; margin: 0 auto; }

.mark {
  width: 150px; height: 150px;
  display: block; margin: 0 auto 1.25rem;
}
.wordmark {
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--teal);
}
.tagline {
  font-family: "Fraunces", serif;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 500;
  color: var(--teal-deep);
  margin: 0 0 1.5rem;
}
.lede {
  font-size: 1.12rem;
  color: var(--ink);
  max-width: 40rem;
  margin: 0 auto 2rem;
}

/* ---- Buttons ------------------------------------------------------- */
.cta-row {
  display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: .9rem;
}
.btn {
  display: inline-block;
  padding: .85rem 1.6rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--amber);
  color: #fff;
  box-shadow: 0 2px 0 var(--amber-deep);
}
.btn-primary:hover { background: var(--amber-deep); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal); }
.cta-note { font-size: .92rem; color: #5c6a6a; margin: 0; }

/* ---- Communities --------------------------------------------------- */
.communities {
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
  margin: 0 0 .4rem;
}
.communities h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin-bottom: 2.5rem; }

/* the "cradle" — communities held in a curved line, echoing the hands */
.cradle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
  position: relative;
}
.community {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  text-align: left;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.community:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(3, 86, 90, .10);
  border-color: var(--teal);
}
.community h3 { font-size: 1.25rem; }
.community p { margin: 0 0 1rem; color: #445; font-size: .98rem; }
.community.live  { border-color: var(--teal); background: var(--teal-soft); }
.community.open  { border-style: dashed; }

.tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  padding: .3rem .7rem;
  border-radius: 999px;
}
.tag-live { background: var(--teal); color: #fff; text-decoration: none; }
.tag-soon { background: var(--cream); color: #6b7676; }
.tag-open { background: #fbe6d3; color: var(--amber-deep); }

/* ---- How ----------------------------------------------------------- */
.how { background: var(--cream); padding: 3.5rem 1.5rem; }
.how-grid {
  max-width: 960px; margin: 0 auto;
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.how-item h4 {
  font-size: 1.2rem;
  border-left: 3px solid var(--teal);
  padding-left: .7rem;
}
.how-item p { margin: 0; color: var(--ink); }

/* ---- Closer -------------------------------------------------------- */
.closer {
  text-align: center;
  padding: 4rem 1.5rem 4.5rem;
  max-width: 680px; margin: 0 auto;
}
.closer h2 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
.closer p { font-size: 1.1rem; color: var(--ink); margin: 0 0 1.8rem; }

/* ---- Footer -------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem;
  text-align: center;
  color: #6b7676;
  font-size: .9rem;
}
.site-footer p { margin: .2rem 0; }
.footer-note a { color: var(--teal); font-weight: 600; }

/* ---- Accessibility ------------------------------------------------- */
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
