/* ----- shared layout primitives ------------------------------------------ */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- header / nav ------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: saturate(160%) blur(10px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--heading);
}

.brand img {
  width: auto;
  height: 64px;
  object-fit: contain;
  padding: 0px;
  border: 2px solid var(--paper);
  /* organic, hand-drawn circle — matches .hero .logo */
  border-radius: 42% 58% 63% 37% / 47% 42% 58% 53%;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  background: var(--paper);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 1rem;
}

.nav a { color: var(--ink); }
.nav a:hover { color: var(--orchid); }

@media (max-width: 560px) {
  .site-header .wrap {
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .nav {
    gap: 10px;
    font-size: .88rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 6px;
  }
  .brand span { display: none; }
  .brand img { width: 44px; height: 44px; }
}

/* ----- layout & the map "trail" ------------------------------------------ */
/* main carries a left gutter; a dashed line + numbered waypoints run down it,
   like a path drawn across a map. */
main {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.25rem 0 4.5rem;
}

/* the trail itself */
main::before {
  content: "";
  position: absolute;
  top: 7rem; bottom: 9rem;
  left: 2.15rem;
  border-left: 2px dashed var(--line);
}

.section {
  position: relative;
  padding: 2rem 0;
}
.section > h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.6rem;
}


/* numbered waypoint marker sitting on the trail */
.waypoint {
  position: absolute;
  left: -3.6rem;
  top: 1.6rem;
  width: 2.6rem; height: 2.6rem;
  display: grid; place-items: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent, var(--flexoki-orange-600));
  /* organic, never a perfect circle */
  border-radius: 47% 53% 70% 30% / 60% 44% 56% 40%;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

/* ----- hero -------------------------------------------------------------- */
.hero {
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 2rem 0 1rem;
    /* fades fully to transparent well before the box edge, so it doesn't
       get hard-clipped into a visible seam at the bottom of the section.
       Radius is sized to fully resolve within the shortest .hero variant
       (about.html's, ~350px tall) as well as the taller one on index.html. */
    background:
        radial-gradient(circle 240px at 50% 0%, rgba(155, 47, 174, 0.16), transparent 100%);
}
.hero .logo {
  width: auto; height: 128px;
  object-fit: contain;
  margin: 0 auto 1.4rem;
  border: 2px solid var(--paper);
  border-radius: 42% 58% 63% 37% / 47% 42% 58% 53%;
  box-shadow: 0 10px 34px rgba(0,0,0,.3);
  background: var(--paper);
}
.hero h1 {
  color: var(--heading);
  font-size: clamp(2.8rem, 8vw, 3.1rem);
  letter-spacing: -.5px;
}
.hero .tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: var(--flexoki-orange-600);
  max-width: 620px;
  margin: 1rem auto 1rem;
}
.hero .vision {
  max-width: 36ch;
  color: var(--tx-muted);
  font-size: 1.2rem;
  margin: 1rem auto 1rem;
}
.hero-emoji {
    font-size: 2.4rem;
    margin-bottom: .4rem;
}

.scroll-cue {
  margin: 1rem;
  color: var(--tx-faint);
  font-family: "Caveat", cursive;
  font-size: 1.4rem;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(8px); } }

/* ----- mobile: shrink the trail gutter so content isn't squeezed -------- */
@media (max-width: 640px) {
  main {
    padding: 0 1.1rem 0 2.5rem;
  }
  main::before {
    left: 1.05rem;
  }
  .waypoint {
    left: -1.85rem;
    top: 2.6rem;
    width: 2rem; height: 2rem;
    font-size: .9rem;
  }
}

.eyebrow {
  font-family: "Caveat", cursive;
  font-size: 1.5rem;
  color: var(--tx-muted);
  display: block;
  margin-bottom: .1rem;
  padding-left: 1rem;
}

.coming-soon {
  display: inline-block;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .8rem;
  padding: 0.5rem 1rem;;
  border-radius: 999px;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

@keyframes blink {
  0% { transform: scale(0.9); opacity: 0.3; }
  50% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.3; }
}

.loading {
  animation: blink 5s ease-in-out infinite;
  display: inline-block; /* Required for transform to work on some elements */
}


/* ----- instagram --------------------------------------------------------- */
.insta-wrap { text-align: center; }
.insta-stage {
  display: flex;
  justify-content: center;
  min-height: 540px;
}
.carousel-embed { display: none; }
.carousel-embed:first-of-type { display: block; }
.carousel-container {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: top;
}
.instagram-media { margin: 0 auto !important; }
.carousel-nav { margin-top: 1.2rem; display: flex; gap: 1rem; justify-content: center; align-items: center; }
.carousel-nav button {
  font-size: 1.3rem;
  line-height: 1;
  width: 3rem; height: 3rem;
  cursor: pointer;
  color: var(--tx);
  background: var(--bg-2);
  border: 1.5px solid var(--line);
  border-radius: 48% 52% 55% 45% / 55% 48% 52% 45%;
  transition: transform .15s ease, background .15s ease;
}
.carousel-nav button:hover { transform: scale(1.08); background: var(--ui); }

/* ----- footer ------------------------------------------------------------ */
footer {
  margin-top: 3rem;
  padding: 3rem 1.25rem 4rem;
  background: var(--footer-bg);
  border-top: 1px solid var(--line);
  color: var(--tx-muted);
  text-align: center;  
  
}
footer a {
    color: var(--heading);
}

footer a:hover {
    color: var(--sun);
}

footer .links { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; margin-bottom: 1.4rem; }
footer .disclaimer { max-width: 60ch; margin: 1.4rem auto 0; font-size: .85rem; color: var(--tx-faint); }

.site-footer .wrap {
    display: grid;
    gap: 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.site-footer h3 {
    color: var(--ink);
    font-size: 1.05rem;
    margin-bottom: .4em;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    line-height: 2;
}
