/* Koinonia Con — shared styles converted from the Claude Design mockups */

:root {
  --navy: #152032;
  --blue: #5882B4;
  --purple: #6D6FA1;
  --yellow: #F2D94E;
  --pink: #DC3C6A;
  --sky: #9DB2D0;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  color: var(--navy);
  background: var(--navy);
}

img { max-width: 100%; }

a { color: var(--yellow); }
a:hover { color: var(--white); }

.bangers { font-family: 'Bangers', cursive; }

@keyframes kc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes kc-wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}
.float { animation: kc-float 6s ease-in-out infinite; }
.float-fast { animation: kc-float 5s ease-in-out infinite; }
.float-delay { animation: kc-float 6s ease-in-out infinite 0.8s; }
.wiggle { animation: kc-wiggle 3s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .float, .float-fast, .float-delay, .wiggle { animation: none; }
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 4px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 28px;
}

.nav-logo img { height: 44px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  row-gap: 10px;
  column-gap: 18px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  min-width: 0;
}

.nav-links a { text-decoration: none; }

.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--yellow);
}
.nav-social:hover { background: var(--yellow); color: var(--navy); }

.nav-socials { display: inline-flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--yellow);
  border-radius: 8px;
  width: 42px;
  height: 38px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 9px;
  right: 9px;
  height: 3px;
  border-radius: 2px;
  background: var(--yellow);
  transition: transform 0.25s, opacity 0.2s, top 0.25s;
}
.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 16px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 16px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 16px; transform: rotate(-45deg); }

@media (max-width: 1199px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    border-bottom: 4px solid var(--yellow);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    flex-direction: column;
    align-items: flex-end;
    padding: 14px 28px 18px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }
  .nav-links.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  text-decoration: none;
  font-family: 'Bangers', cursive;
  letter-spacing: 0.06em;
  border-radius: 12px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  cursor: pointer;
  text-align: center;
}

.btn-lg { font-size: 26px; padding: 14px 34px; border: 4px solid var(--navy); box-shadow: 6px 6px 0 #000; }
.btn-md { font-size: 20px; padding: 10px 24px; border: 3px solid var(--navy); border-radius: 10px; box-shadow: 4px 4px 0 #000; }
.btn-lg:hover, .btn-md:hover { transform: translate(-2px, -2px); }
.btn-lg:hover { box-shadow: 8px 8px 0 #000; }
.btn-md:hover { box-shadow: 6px 6px 0 #000; }

.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--white); color: var(--navy); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--yellow); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--yellow); }
.btn-navy:hover { background: var(--blue); color: var(--white); }
.btn-shadow-sky.btn-md { box-shadow: 4px 4px 0 var(--sky); }
.btn-shadow-sky.btn-md:hover { box-shadow: 6px 6px 0 var(--sky); }

.nav-ticket {
  background: var(--yellow);
  color: var(--navy) !important;
  padding: 10px 20px;
  border-radius: 8px;
  border: 3px solid var(--navy);
  box-shadow: 3px 3px 0 #000;
}
.nav-ticket:hover { background: var(--white); }

/* ---------- Sections ---------- */

.section { padding: 72px 24px; position: relative; overflow: hidden; }
.section-tight { padding: 56px 24px; }

.bg-navy { background: var(--navy); }
.bg-blue { background: var(--blue); }
.bg-yellow { background: var(--yellow); }
.bg-white { background: var(--white); }
.bg-hero { background: linear-gradient(180deg, var(--blue) 0%, var(--purple) 100%); }

.rule-top { border-top: 6px solid var(--navy); }
.rule-bottom { border-bottom: 6px solid var(--navy); }

.dots, .dots-dark, .dots-gold, .dots-navy {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-size: 18px 18px;
}
.dots { background-image: radial-gradient(circle, rgba(255,255,255,0.14) 2px, transparent 2px); }
.dots-dark { background-image: radial-gradient(circle, rgba(18,39,94,0.18) 2px, transparent 2px); background-size: 16px 16px; }
.dots-gold { background-image: radial-gradient(circle, rgba(255,210,0,0.08) 2px, transparent 2px); background-size: 20px 20px; }
.dots-navy { background-image: radial-gradient(circle, rgba(255,255,255,0.07) 2px, transparent 2px); background-size: 16px 16px; }

.wrap { position: relative; max-width: 1000px; margin: 0 auto; }
.wrap-narrow { max-width: 760px; }
.wrap-wide { max-width: 1100px; }

/* ---------- Typography helpers ---------- */

.badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Bangers', cursive;
  font-size: 24px;
  letter-spacing: 0.08em;
  padding: 8px 26px;
  border: 3px solid var(--navy);
  border-radius: 10px;
  box-shadow: 4px 4px 0 #000;
  transform: rotate(-2deg);
}
.badge-pink { background: var(--pink); color: var(--white); }

.kicker {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.display {
  font-family: 'Bangers', cursive;
  letter-spacing: 0.05em;
  line-height: 1;
  margin: 0;
}
.display-hero { font-size: clamp(44px, 8vw, 72px); }
.display-xl { font-size: clamp(38px, 6vw, 52px); }
.display-lg { font-size: clamp(32px, 5vw, 44px); }

.shadow-navy-text { text-shadow: 4px 4px 0 var(--navy); }
.shadow-black-text { text-shadow: 3px 3px 0 #000; }
.shadow-white-text { text-shadow: 2px 2px 0 var(--white); }
.shadow-blue-text { text-shadow: 3px 3px 0 var(--blue); }

.pill {
  display: inline-block;
  background: var(--navy);
  color: var(--yellow);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
}
.pill-pink { background: var(--pink); color: var(--white); }

/* Fellowship speech bubbles: overheard moments of connection, building to the burst */

.bubble-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 14px;
  row-gap: 22px;
  max-width: 640px;
  padding-top: 10px;
}
.bubble {
  position: relative;
  display: inline-block;
  background: var(--white);
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 18px;
  border-radius: 16px;
}
.bubble::after {
  content: "";
  position: absolute;
  bottom: -11px;
  left: 26px;
  width: 0;
  height: 0;
  border-top: 12px solid var(--white);
  border-right: 12px solid transparent;
}
.bubble-tail-r::after {
  left: auto;
  right: 26px;
  border-right: 0;
  border-left: 12px solid transparent;
}
.bubble-tail-top::after {
  bottom: auto;
  top: -11px;
  border-top: 0;
  border-bottom: 12px solid var(--white);
}
.bubble-cloud .bubble:nth-child(odd) { transform: rotate(-1.5deg); }
.bubble-cloud .bubble:nth-child(even) { transform: rotate(1.5deg); }
.bubble-cloud .bubble:nth-child(3n) { transform: rotate(-2.5deg); }

.burst {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Bangers', cursive;
  font-size: clamp(22px, 5vw, 28px);
  letter-spacing: 0.08em;
  line-height: 1;
  padding: clamp(22px, 5vw, 28px) clamp(44px, 10vw, 62px);
  clip-path: polygon(100% 50%, 86.7% 59.8%, 93.3% 75%, 76.9% 76.9%, 75% 93.3%, 59.8% 86.7%, 50% 100%, 40.2% 86.7%, 25% 93.3%, 23.1% 76.9%, 6.7% 75%, 13.3% 59.8%, 0% 50%, 13.3% 40.2%, 6.7% 25%, 23.1% 23.1%, 25% 6.7%, 40.2% 13.3%, 50% 0%, 59.8% 13.3%, 75% 6.7%, 76.9% 23.1%, 93.3% 25%, 86.7% 40.2%);
  transform: rotate(-2deg);
  filter: drop-shadow(4px 4px 0 #000);
}

.marker {
  display: inline-block;
  background: var(--navy);
  color: var(--yellow);
  font-family: 'Bangers', cursive;
  font-size: 20px;
  letter-spacing: 0.06em;
  padding: 8px 24px;
  border-radius: 10px;
  transform: rotate(-1deg);
}
.marker-gold { background: var(--yellow); color: var(--navy); border: 3px solid var(--white); }

/* ---------- Cards & grids ---------- */

.card {
  background: var(--white);
  border: 4px solid var(--navy);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--navy);
}

.card-pad { padding: 26px; }

.grid {
  display: grid;
  gap: 22px;
}
.grid-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-260 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.grid-240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.tile {
  text-decoration: none;
  background: var(--white);
  border: 4px solid var(--navy);
  border-radius: 16px;
  box-shadow: 6px 6px 0 var(--navy);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.tile:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 9px 9px 0 var(--navy); }
.tile-icon {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.tile-title { font-family: 'Bangers', cursive; font-size: 28px; letter-spacing: 0.05em; color: var(--navy); }
.tile-hook { color: var(--navy); font-weight: 700; font-size: 15px; line-height: 1.4; }

.split {
  display: grid;
  gap: 40px;
  align-items: center;
}
.split-img-left { grid-template-columns: 260px 1fr; }
.split-img-left-sm { grid-template-columns: 240px 1fr; }
.split-img-right { grid-template-columns: 1fr 260px; }
.split-img-right-sm { grid-template-columns: 1fr 240px; }
.split-wide-right { grid-template-columns: 1fr 520px; gap: 32px; }
.split-flyer { grid-template-columns: 340px 1fr; gap: 48px; }
.split-promo { grid-template-columns: 320px 1fr 240px; gap: 44px; }

@media (max-width: 820px) {
  .split-img-left, .split-img-left-sm, .split-img-right, .split-img-right-sm,
  .split-wide-right, .split-flyer, .split-promo { grid-template-columns: 1fr; }
  .split-promo > a { max-width: 320px; justify-self: center; }
  .reel-col { justify-self: center; }
  /* Character graphics sit below the text on mobile, and render much smaller.
     The PNGs carry ~26% transparent space below the feet; the negative margin
     cancels it so the visible gap matches the guest-speaker section. */
  .split > img { order: 1; max-width: 130px; justify-self: center; margin-bottom: -50px; }
}

.stack { display: flex; flex-direction: column; gap: 14px; }
.stack > * { margin: 0; }

/* Profile cards (guests, team, artists) */

.profile { overflow: hidden; display: flex; flex-direction: column; }
.profile-photo {
  height: 280px;
  background-color: var(--sky);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  border-bottom: 4px solid var(--navy);
}
.profile-photo.fit-contain { background-size: auto 100%; }
.profile-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.profile-name { font-family: 'Bangers', cursive; font-size: 30px; letter-spacing: 0.04em; color: var(--navy); }
.profile-tag { font-weight: 900; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--pink); }
.profile-bio { color: var(--purple); font-size: 15px; line-height: 1.55; }
.profile-link { align-self: flex-start; color: var(--pink); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.profile-link:hover { color: var(--navy); }

/* FAQ / info cards */

.qa { padding: 26px 30px; display: flex; flex-direction: column; gap: 8px; }
.qa h2 { font-family: 'Bangers', cursive; font-size: 26px; letter-spacing: 0.04em; color: var(--navy); font-weight: 400; margin: 0; }
.qa p { color: var(--purple); font-size: 16px; line-height: 1.6; margin: 0; }
.qa a { color: var(--pink); font-weight: 800; }
.qa a:hover { color: var(--navy); }

.info-box {
  border: 3px solid var(--navy);
  border-radius: 12px;
  padding: 18px 20px;
  background: #F7F7F7;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-box h3 { font-family: 'Bangers', cursive; font-size: 20px; color: var(--pink); letter-spacing: 0.04em; margin: 0; font-weight: 400; }
.info-box p { color: var(--navy); font-weight: 700; font-size: 15px; line-height: 1.5; margin: 0; }

.sched-row {
  display: flex;
  gap: 18px;
  align-items: baseline;
  border: 3px solid var(--navy);
  border-radius: 12px;
  padding: 16px 20px;
  background: #F7F7F7;
}
.sched-time { font-family: 'Bangers', cursive; font-size: 22px; color: var(--pink); letter-spacing: 0.04em; min-width: 110px; }
.sched-what { color: var(--navy); font-weight: 700; font-size: 16px; }
@media (max-width: 560px) {
  .sched-row { flex-direction: column; gap: 4px; }
}

/* Countdown */

.countdown { display: flex; gap: 14px; margin-top: 14px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 560px) {
  /* Keep all four boxes on one line on phones */
  .countdown { flex-wrap: nowrap; gap: 8px; width: 100%; max-width: 360px; }
  .countdown .cd-box { flex: 1; min-width: 0; padding: 10px 4px; }
  .countdown .cd-num { font-size: 26px; }
  .countdown .cd-label { font-size: 10px; letter-spacing: 0.08em; }
}
.cd-box {
  background: var(--navy);
  border: 3px solid var(--yellow);
  border-radius: 12px;
  padding: 12px 18px;
  min-width: 78px;
}
.cd-num { font-family: 'Bangers', cursive; color: var(--yellow); font-size: 40px; line-height: 1; }
.cd-label { color: var(--white); font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }

/* Mailing list form */

.list-form { display: flex; gap: 10px; width: 100%; flex-wrap: wrap; justify-content: center; }
.list-form input {
  padding: 12px 14px;
  border: 3px solid var(--navy);
  border-radius: 10px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
}
.list-form input[name="email"] { flex: 1; min-width: 200px; }
.list-form button {
  font-family: 'Bangers', cursive;
  font-size: 20px;
  letter-spacing: 0.05em;
  background: var(--yellow);
  color: var(--navy);
  padding: 10px 24px;
  border: 3px solid var(--navy);
  border-radius: 10px;
  box-shadow: 3px 3px 0 #000;
  cursor: pointer;
}
.list-form button:hover { background: var(--navy); color: var(--yellow); }
.list-form button:disabled { opacity: 0.6; cursor: default; }
.list-msg { font-weight: 800; font-size: 15px; min-height: 1.2em; }
.list-msg.ok { color: #1a7a3a; }
.list-msg.err { color: var(--pink); }

/* ---------- Footer ---------- */

.footer {
  background: var(--navy);
  padding: 40px 24px;
  text-align: center;
  color: var(--sky);
  font-size: 14px;
  line-height: 1.7;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-links a { text-decoration: none; }
.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.footer-logos a { display: block; opacity: 0.55; transition: opacity 0.15s; }
.footer-logos a:hover { opacity: 1; }
.footer-logos img { height: 34px; display: block; }
.logo-invert { filter: invert(1) brightness(1.4); }
.logo-gray { filter: grayscale(1) brightness(2.2); }

/* ---------- Text colors ---------- */

.c-white { color: var(--white); }
.c-navy { color: var(--navy); }
.c-yellow { color: var(--yellow); }
.c-pink { color: var(--pink); }
.c-sky { color: var(--sky); }
.c-purple { color: var(--purple); }

.center { text-align: center; }
.stack-center { align-items: center; text-align: center; }

/* Guidelines page prose */

.prose { color: var(--purple); font-size: 16px; line-height: 1.65; }
.prose h2 { font-family: 'Bangers', cursive; font-size: 30px; letter-spacing: 0.04em; color: var(--navy); font-weight: 400; margin: 0 0 6px; }
.prose h3 { color: var(--navy); font-size: 17px; font-weight: 900; margin: 14px 0 4px; }
.prose p { margin: 6px 0; }
.prose ul { margin: 6px 0; padding-left: 22px; }
.prose li { margin: 3px 0; }
.prose strong { color: var(--navy); }

/* Instagram reel (homepage promo section) */
.reel-col { display: flex; flex-direction: column; align-items: center; gap: 10px; transform: rotate(2deg); }
.reel-frame {
  position: relative;
  width: 240px;
  border: 4px solid var(--navy);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--yellow);
  background: var(--navy);
  cursor: pointer;
  line-height: 0;
}
.reel-frame video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; }
.reel-sound {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(23, 32, 56, 0.75);
  color: var(--white);
  border: 2px solid var(--white);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  padding: 5px 12px;
  cursor: pointer;
  font-family: inherit;
}
.reel-caption { color: var(--purple); font-weight: 800; font-size: 14px; text-decoration: none; }
.reel-caption:hover { color: var(--pink); }
