/* =====================================================================
   BUZZ AND BLOOMS — SHARED STYLESHEET
   Used by: index.html, host-a-hive.html, education.html, get-started.html
   Edit this one file and every page updates.
   ===================================================================== */

:root {
  --honey: #D4940A;
  --honey-deep: #B87D08;
  --honey-light: #E8B84B;
  --honey-glow: #F5D280;
  --sage: #5A7F4E;
  --sage-light: #7BA36D;
  --sage-deep: #3D5C33;
  --cream: #FFF8EC;
  --cream-dark: #F0E4CF;
  --ink: #2A2118;
  --ink-soft: #5C4F3E;
  --warm-bg: #FEF6E4;
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background: var(--warm-bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(212, 148, 10, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 15%, rgba(90, 127, 78, 0.07) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 85%, rgba(212, 148, 10, 0.06) 0%, transparent 40%),
    radial-gradient(ellipse at 20% 70%, rgba(90, 127, 78, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='52' viewBox='0 0 60 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 0 L30 8.66 L30 25.98 L15 34.64 L0 25.98 L0 8.66Z' fill='none' stroke='%23D4940A' stroke-width='1'/%3E%3Cpath d='M45 0 L60 8.66 L60 25.98 L45 34.64 L30 25.98 L30 8.66Z' fill='none' stroke='%23D4940A' stroke-width='1'/%3E%3Cpath d='M30 17.32 L45 25.98 L45 43.3 L30 51.96 L15 43.3 L15 25.98Z' fill='none' stroke='%23D4940A' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ---------- Top accent bar ---------- */
.accent-bar {
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--honey), var(--sage));
  position: relative;
  z-index: 10;
}

/* ---------- Link bar in header ---------- */
.link-bar {
  position: relative;
  z-index: 10;
  background: rgba(255, 248, 236, 0.85);
  border-bottom: 1px solid var(--cream-dark);
  padding: 0.6rem 1rem;
  backdrop-filter: blur(8px);
}
.link-bar-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.link-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}
.link-bar a:hover {
  background: rgba(255, 253, 247, 0.8);
  border-color: var(--cream-dark);
  color: var(--honey-deep);
}
.link-bar a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.link-bar .link-sep {
  color: var(--honey-light);
  opacity: 0.6;
  font-size: 0.7rem;
  user-select: none;
}

/* ---------- Page strip (lateral navigation) ---------- */
.page-strip {
  position: relative;
  z-index: 9;
  padding: 0.7rem 1rem 0.8rem;
  text-align: center;
  border-bottom: 1px solid var(--cream-dark);
  background: rgba(255, 248, 236, 0.4);
  backdrop-filter: blur(4px);
}
.page-strip-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.page-strip a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.page-strip a:hover {
  color: var(--honey-deep);
  background: rgba(212, 148, 10, 0.06);
}
.page-strip .page-strip-current {
  color: var(--honey-deep);
  padding: 0.3rem 0.6rem;
  border-bottom: 2px solid var(--honey);
  border-radius: 0;
  font-weight: 600;
}
.page-strip .page-strip-sep {
  color: var(--honey-light);
  opacity: 0.6;
  font-size: 0.7rem;
  user-select: none;
}

@media (max-width: 640px) {
  .page-strip { padding: 0.5rem 0.5rem 0.6rem; }
  .page-strip-inner {
    gap: 0.1rem;
    font-size: 0.72rem;
  }
  .page-strip a, .page-strip .page-strip-current {
    padding: 0.25rem 0.4rem;
  }
}

/* ---------- Flying bees ---------- */
.bee {
  position: fixed;
  width: 22px;
  height: 22px;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}
.bee svg { width: 100%; height: 100%; }

.bee:nth-of-type(1) { animation: fly1 18s ease-in-out infinite 0s; }
.bee:nth-of-type(2) { animation: fly2 22s ease-in-out infinite 4s; }
.bee:nth-of-type(3) { animation: fly3 20s ease-in-out infinite 8s; }
.bee:nth-of-type(4) { animation: fly4 25s ease-in-out infinite 2s; width: 18px; height: 18px; }
.bee:nth-of-type(5) { animation: fly5 19s ease-in-out infinite 10s; width: 16px; height: 16px; }
.bee:nth-of-type(6) { animation: fly6 23s ease-in-out infinite 5s; }
.bee:nth-of-type(7) { animation: fly7 21s ease-in-out infinite 14s; width: 19px; height: 19px; }
.bee:nth-of-type(8) { animation: fly8 24s ease-in-out infinite 1s; width: 17px; height: 17px; }

@keyframes fly1 {
  0% { transform: translate(-5vw, 60vh) rotate(20deg) scaleX(-1); opacity: 0; }
  5% { opacity: 0.35; }
  25% { transform: translate(30vw, 30vh) rotate(-5deg) scaleX(-1); }
  50% { transform: translate(55vw, 50vh) rotate(15deg) scaleX(-1); opacity: 0.3; }
  75% { transform: translate(80vw, 20vh) rotate(-10deg) scaleX(-1); }
  95% { opacity: 0; }
  100% { transform: translate(105vw, 40vh) rotate(10deg) scaleX(-1); opacity: 0; }
}
@keyframes fly2 {
  0% { transform: translate(105vw, 25vh) rotate(-15deg); opacity: 0; }
  5% { opacity: 0.3; }
  30% { transform: translate(65vw, 55vh) rotate(10deg); }
  55% { transform: translate(35vw, 35vh) rotate(-8deg); opacity: 0.25; }
  80% { transform: translate(10vw, 60vh) rotate(12deg); }
  95% { opacity: 0; }
  100% { transform: translate(-10vw, 45vh) rotate(-5deg); opacity: 0; }
}
@keyframes fly3 {
  0% { transform: translate(20vw, -5vh) rotate(10deg) scaleX(-1); opacity: 0; }
  5% { opacity: 0.28; }
  35% { transform: translate(50vw, 40vh) rotate(-12deg) scaleX(-1); }
  65% { transform: translate(70vw, 70vh) rotate(8deg) scaleX(-1); opacity: 0.25; }
  95% { opacity: 0; }
  100% { transform: translate(90vw, 105vh) rotate(-5deg) scaleX(-1); opacity: 0; }
}
@keyframes fly4 {
  0% { transform: translate(90vw, 80vh) rotate(-10deg); opacity: 0; }
  5% { opacity: 0.3; }
  20% { transform: translate(70vw, 45vh) rotate(15deg); }
  45% { transform: translate(40vw, 65vh) rotate(-5deg); opacity: 0.28; }
  70% { transform: translate(15vw, 30vh) rotate(10deg); }
  95% { opacity: 0; }
  100% { transform: translate(-10vw, 15vh) rotate(-8deg); opacity: 0; }
}
@keyframes fly5 {
  0% { transform: translate(-8vw, 20vh) rotate(5deg) scaleX(-1); opacity: 0; }
  5% { opacity: 0.25; }
  30% { transform: translate(25vw, 75vh) rotate(-15deg) scaleX(-1); }
  60% { transform: translate(60vw, 45vh) rotate(8deg) scaleX(-1); opacity: 0.22; }
  95% { opacity: 0; }
  100% { transform: translate(105vw, 65vh) rotate(-5deg) scaleX(-1); opacity: 0; }
}
@keyframes fly6 {
  0% { transform: translate(50vw, -8vh) rotate(12deg); opacity: 0; }
  5% { opacity: 0.32; }
  25% { transform: translate(75vw, 30vh) rotate(-8deg); }
  50% { transform: translate(45vw, 55vh) rotate(15deg); opacity: 0.27; }
  75% { transform: translate(20vw, 80vh) rotate(-12deg); }
  95% { opacity: 0; }
  100% { transform: translate(-5vw, 95vh) rotate(5deg); opacity: 0; }
}
@keyframes fly7 {
  0% { transform: translate(110vw, 70vh) rotate(-20deg) scaleX(-1); opacity: 0; }
  5% { opacity: 0.26; }
  35% { transform: translate(55vw, 20vh) rotate(10deg) scaleX(-1); }
  65% { transform: translate(25vw, 50vh) rotate(-6deg) scaleX(-1); opacity: 0.24; }
  95% { opacity: 0; }
  100% { transform: translate(-15vw, 35vh) rotate(12deg) scaleX(-1); opacity: 0; }
}
@keyframes fly8 {
  0% { transform: translate(10vw, 105vh) rotate(8deg); opacity: 0; }
  5% { opacity: 0.28; }
  25% { transform: translate(35vw, 60vh) rotate(-12deg); }
  50% { transform: translate(65vw, 85vh) rotate(6deg); opacity: 0.25; }
  75% { transform: translate(85vw, 40vh) rotate(-15deg); }
  95% { opacity: 0; }
  100% { transform: translate(108vw, 10vh) rotate(10deg); opacity: 0; }
}

/* ---------- Page layout ---------- */
.page {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.page.narrow { max-width: 640px; }
.page.wide { max-width: 920px; }

/* ---------- Back link ---------- */
.back {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--sage);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s ease-out 0.1s forwards;
}
.back:hover { color: var(--ink); }
.back::before { content: "← "; }

/* ---------- Hero ---------- */
.hero {
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s ease-out 0.25s forwards;
}

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin-bottom: 1.2rem;
}

h1 {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1rem;
}

.lede {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.45;
  color: var(--honey-deep);
  max-width: 32rem;
  font-weight: 400;
}

/* ---------- Typography ---------- */
p {
  margin-bottom: 1rem;
  max-width: 40rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
p.large {
  font-family: 'Crimson Pro', serif;
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

a.inline {
  color: var(--honey-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
a.inline:hover { color: var(--ink); }

h2 {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 1.85rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 1rem;
  letter-spacing: -0.005em;
}

h3 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.8rem;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.6rem;
}

/* ---------- Site photos ---------- */
.site-photo {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(42, 33, 24, 0.1);
}
.site-photo.hero-photo {
  border-radius: 12px;
  margin: 0 0 2.5rem;
  box-shadow: 0 8px 32px rgba(42, 33, 24, 0.12);
}
.site-photo.inline-photo {
  margin: 1.5rem 0;
}
.photo-caption {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-align: center;
  margin: -1.2rem 0 2rem;
  opacity: 0.8;
}

/* ---------- Divider rule ---------- */
.rule {
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 3rem 0;
  opacity: 0.7;
}
.rule::before, .rule::after {
  content: '';
  flex: 1;
  height: 1px;
  max-width: 120px;
}
.rule::before { background: linear-gradient(90deg, transparent, var(--honey-light)); }
.rule::after { background: linear-gradient(90deg, var(--honey-light), transparent); }

/* ---------- Hexagon bullet list ---------- */
.gets { list-style: none; margin: 1.2rem 0 0; }
.gets li {
  padding: 0.9rem 0 0.9rem 2rem;
  border-bottom: 1px solid var(--cream-dark);
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.gets li:last-child { border-bottom: none; }
.gets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 8px;
  height: 8px;
  background: var(--honey);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.75;
}

/* ---------- CTA button ---------- */
.cta {
  display: inline-block;
  background: var(--honey);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.1rem 2.2rem;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(212, 148, 10, 0.25);
  transition: all 0.3s ease;
}
.cta:hover {
  background: var(--honey-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 148, 10, 0.35);
}

.cta-section {
  text-align: center;
  margin: 3rem 0 2rem;
}

.cta-secondary {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-deep);
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border: 1px solid var(--sage-light);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.6);
  transition: all 0.25s ease;
}
.cta-secondary:hover {
  background: rgba(90, 127, 78, 0.08);
  border-color: var(--sage-deep);
  color: var(--sage-deep);
}

/* ---------- FAQ dropdowns (landing + host) ---------- */
.faq-accordion {
  margin: 1.2rem 0 1.5rem;
}
.faq-item {
  background: rgba(255, 253, 247, 0.6);
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  margin-bottom: 0.8rem;
  overflow: hidden;
  backdrop-filter: blur(4px);
}
.faq-item summary {
  font-family: 'Crimson Pro', serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.2s ease;
  line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(255, 248, 236, 0.5); }
.faq-item summary::after {
  content: "+";
  font-family: 'Crimson Pro', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--honey-deep);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item[open] summary {
  background: rgba(255, 248, 236, 0.4);
  border-bottom: 1px solid var(--cream-dark);
}
.faq-body {
  padding: 1.2rem 1.4rem 1.3rem;
}
.faq-body p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.faq-body p:last-child { margin-bottom: 0; }
.faq-body p strong { color: var(--ink); font-weight: 600; }
.faq-body a.inline {
  color: var(--honey-deep);
  font-weight: 600;
}
.faq-body-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--honey-deep);
  text-decoration: none;
  border-bottom: 1px solid var(--honey-light);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}
.faq-body-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.faq-body-link::after {
  content: " →";
  display: inline;
}

/* ---------- Footer ---------- */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--cream-dark);
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
  line-height: 1.7;
}
footer p {
  max-width: none;
  margin-bottom: 0.3rem;
  color: var(--ink-soft);
}

.hex-mark {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--honey);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  margin: 0 0.4rem;
  vertical-align: middle;
  opacity: 0.7;
}

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .link-bar { padding: 0.5rem 0.5rem; }
  .link-bar-inner { gap: 0.2rem; }
  .link-bar a {
    padding: 0.4rem 0.6rem;
    font-size: 0.74rem;
    gap: 0.3rem;
  }
  .link-bar a svg { width: 16px; height: 16px; }
  .link-bar .link-sep { display: none; }
}

@media (max-width: 560px) {
  .page { padding: 2rem 1.25rem 3rem; }
  .faq-item summary {
    font-size: 1.05rem;
    padding: 1rem 1.1rem;
  }
  .faq-body { padding: 1rem 1.1rem 1.1rem; }
  .cta { padding: 1rem 1.7rem; font-size: 0.9rem; }
}
