/* ============================================================
   Relateful Gatherings — shared design system
   Used by index.html, basics.html, and brand-guidelines.html.
   Colors, type, and every reusable component live here once;
   each page keeps only what's genuinely unique to it (page
   layout scaffolding like `section`/`footer` sizing, and any
   component that's deliberately a different scale on that page,
   like the small nested-circle diagram in the brand guide).
   ============================================================ */

:root{
  --chocolate:#2A2726;
  --chocolate-soft:#3d3836;
  --cream:#E6DCC4;
  --cream-light:#F5EFE0;
  --poppy:#D65B5B;
  --poppy-dark:#b8453f;
  --poppy-light:#f0a9a3;
  --sage:#7c8a63;
  --white:#FFFBF3;
  --shadow: 0 10px 30px rgba(42,39,38,0.15);
  --radius-lg: 42% 58% 61% 39% / 45% 40% 60% 55%;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Quicksand', sans-serif;
  color:var(--chocolate);
  background:var(--cream-light);
  overflow-x:hidden;
}
h1,h2,h3{font-family:'Fraunces', serif; margin:0 0 .4em 0; line-height:1.08; font-weight:600;}
.script{font-family:'Caveat', cursive; font-weight:600;}
p{line-height:1.65; margin:0 0 1em 0;}
a{color:inherit;}
img{max-width:100%; display:block;}
.wrap{max-width:1040px; margin:0 auto; padding:0 24px;}
.center{text-align:center;}

/* ---------- decorative blobs (site-wide background motif) ---------- */
.blob{position:absolute; border-radius:var(--radius-lg); z-index:0; filter:blur(0px); opacity:.55;}
.blob.b1{width:340px;height:340px; background:var(--poppy-light); top:-120px; right:-100px;}
.blob.b2{width:260px;height:260px; background:var(--sage); opacity:.25; bottom:-80px; left:-90px;}
.blob.b3{width:180px;height:180px; background:var(--poppy); opacity:.18; top:40%; right:8%;}
.dots{position:absolute; width:120px; height:120px; background-image:radial-gradient(var(--chocolate) 2px, transparent 2px); background-size:16px 16px; opacity:.15;}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'Quicksand', sans-serif; font-weight:700; font-size:1.02rem;
  padding:15px 30px; border-radius:100px; text-decoration:none;
  border:2px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{transform:translateY(-2px);}
.btn-primary{background:var(--poppy); color:var(--white); box-shadow:0 8px 20px rgba(214,91,91,0.35);}
.btn-primary:hover{background:var(--poppy-dark);}
.btn-ghost{background:transparent; color:var(--chocolate); border-color:var(--chocolate);}
.btn-ghost:hover{background:var(--chocolate); color:var(--white);}
.btn-light{background:var(--cream-light); color:var(--chocolate);}
.cta-row{display:flex; flex-wrap:wrap; gap:14px; align-items:center; margin-top:28px;}
.launch-note{font-weight:700; color:var(--poppy-dark); font-size:.95rem; margin:16px 0 0;}
.microcopy{font-size:.85rem; opacity:.7; margin-top:10px;}

/* ---------- sticky bar ---------- */
.stickybar{
  position:fixed; left:0; right:0; bottom:0; z-index:500;
  background:var(--chocolate); color:var(--white);
  padding:14px 20px; display:flex; align-items:center; justify-content:center; gap:20px;
  transform:translateY(120%); transition:transform .35s ease;
  box-shadow:0 -6px 24px rgba(0,0,0,0.25);
  flex-wrap:wrap;
}
.stickybar.show{transform:translateY(0);}
.stickybar .meta{font-family:'Quicksand'; font-weight:600; font-size:.92rem; opacity:.9;}
.stickybar .btn-primary{padding:10px 22px; font-size:.92rem;}

/* ---------- hero ---------- */
.hero{
  padding-top:70px;
  background:linear-gradient(160deg, var(--cream) 0%, var(--cream-light) 55%, var(--white) 100%);
  text-align:center;
}
.hero .eyebrow{
  display:inline-block; font-family:'Caveat',cursive; font-size:1.4rem; color:var(--poppy-dark);
  transform:rotate(-3deg); margin-bottom:6px;
}
.hero h1{font-size:clamp(2.6rem, 6vw, 4.6rem); letter-spacing:-0.01em;}
.hero .hook{
  font-family:'Fraunces', serif; font-style:italic; font-weight:500;
  font-size:clamp(1.15rem, 2.4vw, 1.5rem);
  max-width:640px; margin:18px auto 0; color:var(--chocolate-soft);
}
.hero .sub{max-width:520px; margin:14px auto 0; font-size:1.05rem;}
.hero .cta-row{justify-content:center;}
.meta-pill{
  display:inline-flex; flex-wrap:wrap; gap:10px 18px; justify-content:center;
  margin-top:34px; padding:14px 26px; background:var(--white); border-radius:100px;
  box-shadow:var(--shadow); font-weight:600; font-size:.95rem;
}
.meta-pill span{white-space:nowrap;}
.hero-photo-strip{margin-top:56px; display:flex; justify-content:center; gap:18px; flex-wrap:wrap;}
.polaroid{
  background:var(--white); padding:10px 10px 22px; box-shadow:var(--shadow); width:150px;
  font-family:'Caveat',cursive; text-align:center; font-size:1rem; color:var(--chocolate-soft);
}
.polaroid .ph{width:100%; height:120px; border-radius:6px; background:linear-gradient(135deg,var(--poppy-light),var(--sage)); opacity:.5;}
.polaroid img.ph-real{width:100%; height:120px; object-fit:cover; border-radius:6px;}
.polaroid:nth-child(1){transform:rotate(-6deg);}
.polaroid:nth-child(2){transform:rotate(4deg); margin-top:14px;}
.polaroid:nth-child(3){transform:rotate(-2deg);}

/* ---------- arc-label: the curved section-heading motif ---------- */
.arc-label{display:inline-block; font-size:1.5rem; margin:0 auto 6px; transform:rotate(-3deg); position:relative;}
.arc-label svg{display:block; width:140px; height:16px; margin:4px auto 0;}

/* ---------- dark section (Is This You? / Voice & tone / brand personality) ---------- */
.dark-section{background:var(--chocolate); color:var(--cream-light);}
.dark-section h2{color:var(--white); text-align:center; font-size:clamp(2rem,4vw,2.8rem);}
.dark-section .arc-label text{fill:var(--poppy-light);}
.mirror-list{max-width:680px; margin:34px auto 0; display:grid; gap:18px;}
.mirror-item{
  display:flex; gap:14px; align-items:flex-start; background:rgba(255,255,255,0.05);
  padding:18px 22px; border-radius:18px; border:1px solid rgba(255,255,255,0.1);
}
.mirror-item .mark{font-family:'Fraunces',serif; font-size:1.4rem; color:var(--poppy-light); flex-shrink:0;}
.mirror-item p{margin:0; font-size:1.05rem;}

/* ---------- nested-circle pulse animation (sizing stays per-page) ---------- */
@keyframes ring-pulse{
  0%,100%{transform:scale(1);}
  50%{transform:scale(1.045);}
}

/* ---------- detail-cards (Details section / applied examples) ---------- */
.detail-cards{display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:20px; margin-top:40px; text-align:left;}
.detail-card{background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); border-radius:20px; padding:26px;}
.detail-card .ic{font-size:1.6rem;}
.detail-card h3{font-family:'Quicksand'; font-size:1.05rem; font-weight:700; margin:12px 0 6px; color:var(--poppy-light);}
.detail-card p{margin:0; font-size:.95rem; opacity:.9;}

/* ---------- rsvp ---------- */
.rsvp{background:linear-gradient(160deg, var(--poppy-light) 0%, var(--cream) 60%);}
.rsvp-box{
  max-width:640px; margin:0 auto; text-align:center; background:var(--white);
  border-radius:32px; padding:56px 40px; box-shadow:var(--shadow);
}
.rsvp-box h2{font-size:clamp(1.9rem,3.6vw,2.4rem);}
.rsvp-box .cta-row{justify-content:center;}

/* ---------- footer link styling (bare `footer` box stays page-local) ---------- */
footer .wordmark{font-family:'Fraunces',serif; font-size:1.4rem; margin-bottom:8px;}
footer .links{margin-top:14px; font-size:.9rem; opacity:.75;}
footer .links a{text-decoration:underline; margin:0 8px;}

.callout{max-width:640px; margin:36px auto 0; text-align:center; opacity:.85; font-size:.98rem;}

/* ============================================================
   MULTI-PAGE ARCHITECTURE (added when the one-pager was split
   into /what-is-relateful, /gatherings, and /practice).
   Everything below is used by two or more pages, so it lives
   here rather than in any single page's local <style>.
   ============================================================ */

/* ---------- page scaffolding shared by all public pages ----------
   Scoped to body.site on purpose: basics.html and the internal brand
   guide share this stylesheet but use their own plain article layout,
   so bare `section`/`footer` rules must not reach them. */
.site section{position:relative; padding:110px 0; overflow:hidden;}
/* Decorative blobs are absolutely positioned, so without this they paint
   over the static content — visible as a blob across the headline on narrow
   screens. Lifting the content wrapper keeps text on top. */
.site section > .wrap{position:relative; z-index:1;}
.site footer{background:var(--chocolate); color:var(--cream-light); padding:50px 0 100px; text-align:center;}

/* ---------- site nav ----------
   Capped at four items, forever. "Come to a Gathering" is the
   only one styled as a button — the other two are support. */
.sitenav{
  position:sticky; top:0; z-index:400;
  background:rgba(245,239,224,0.92); backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(42,39,38,0.08);
}
.sitenav .wrap{display:flex; align-items:center; gap:18px; flex-wrap:wrap; padding-top:14px; padding-bottom:14px;}
.sitenav .brand{
  font-family:'Fraunces',serif; font-weight:600; font-size:1.12rem;
  text-decoration:none; margin-right:auto; white-space:nowrap;
}
.sitenav .links{display:flex; align-items:center; gap:22px;}
.sitenav .links a{
  text-decoration:none; font-weight:600; font-size:.95rem; opacity:.75;
  padding:4px 0; border-bottom:2px solid transparent; white-space:nowrap;
}
.sitenav .links a:hover{opacity:1;}
.sitenav a[aria-current="page"]{opacity:1; border-bottom-color:var(--poppy);}
.sitenav .nav-cta{
  padding:10px 22px; font-size:.95rem; border-bottom:none;
  box-shadow:0 6px 16px rgba(214,91,91,0.28);
}
.sitenav .nav-cta[aria-current="page"]{border-bottom:none;}

/* Below 700px the two supporting links drop to their own row, so the
   brand and the one call to action always share the first line. */
@media (max-width:700px){
  .sitenav .wrap{gap:8px; padding:9px 16px;}
  .sitenav .brand{font-size:.92rem; order:1;}
  .sitenav .nav-cta{order:2; padding:8px 13px; font-size:.78rem;}
  /* four links no longer fit one phone row, so let them wrap to a second
     line rather than get clipped by body{overflow-x:hidden} */
  .sitenav .links{order:3; width:100%; gap:9px 18px; flex-wrap:wrap;}
  .sitenav .links a{font-size:.84rem;}
}

/* ---------- the flow / nested-circle diagram ---------- */
.practice{background:var(--cream-light);}
.practice .grid{display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center;}
.practice .visual{position:relative; height:340px;}
.practice h2{font-size:clamp(2rem,4vw,2.6rem);}
.practice .steps{margin-top:20px; display:grid; gap:14px;}
.practice .steps p{margin:0;}
.flow-circle{
  position:absolute; border-radius:50%; border:2px dashed var(--poppy); opacity:.55;
  animation:ring-pulse 3.6s ease-in-out infinite;
}
.flow-circle.c1{width:300px;height:300px; top:20px; left:20px; animation-delay:.6s;}
.flow-circle.c2{width:190px;height:190px; top:75px; left:75px; border-style:solid; border-color:var(--sage); opacity:.6; animation-delay:.3s;}
.flow-circle.c3{width:90px;height:90px; top:125px; left:125px; background:var(--poppy); opacity:.85; border:none;}
.flow-circle .label{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  font-family:'Caveat',cursive; font-weight:700; font-size:1.3rem; color:var(--white); text-align:center; padding:10px;
}
.ring-tag{
  position:absolute; left:50%; transform:translateX(-50%);
  background:var(--white); border-radius:100px; padding:5px 14px;
  font-family:'Caveat',cursive; font-weight:700; font-size:1rem;
  box-shadow:0 4px 12px rgba(42,39,38,0.12); white-space:nowrap; z-index:2;
}
.ring-tag.tag-we{top:6px; color:var(--poppy-dark);}
.ring-tag.tag-you{top:60px; color:var(--sage);}

/* ---------- what-to-expect timeline ---------- */
.expect{background:var(--white);}
.expect h2{text-align:center; font-size:clamp(2rem,4vw,2.6rem);}
.timeline{max-width:640px; margin:40px auto 0; position:relative; padding-left:30px;}
.timeline::before{content:'';position:absolute; left:6px; top:6px; bottom:6px; width:2px; background:repeating-linear-gradient(to bottom, var(--poppy) 0 6px, transparent 6px 12px);}
.t-item{position:relative; margin-bottom:32px;}
.t-item::before{content:''; position:absolute; left:-30px; top:4px; width:14px; height:14px; border-radius:50%; background:var(--poppy);}
.t-item .time{font-family:'Caveat',cursive; font-size:1.3rem; color:var(--poppy-dark); font-weight:700; display:block;}
.t-item p{margin:2px 0 0;}

/* ---------- facilitator ---------- */
.host{background:var(--cream);}
.host .grid{display:grid; grid-template-columns:280px 1fr; gap:56px; align-items:center;}
.host-photo-wrap{position:relative;}
.host-photo-frame{
  background:var(--white); padding:14px 14px 34px; box-shadow:var(--shadow);
  transform:rotate(-3deg); border-radius:4px;
}
.host-photo-frame img{border-radius:2px; aspect-ratio:1/1; object-fit:cover; width:100%; height:auto; display:block;}
.host-photo-frame .cap{font-family:'Caveat',cursive; text-align:center; font-size:1.15rem; margin-top:10px; color:var(--chocolate-soft);}
.host h2{font-size:clamp(1.9rem,3.6vw,2.5rem);}
.host .name{font-family:'Caveat',cursive; font-size:1.4rem; color:var(--poppy-dark); display:block; margin-bottom:4px;}

/* ---------- details ---------- */
.details{background:var(--chocolate); color:var(--white);}
.details .wrap{text-align:center;}
.details h2{color:var(--white); font-size:clamp(2rem,4vw,2.6rem);}

/* ---------- faq ---------- */
.faq{background:var(--white);}
.faq h2{text-align:center; font-size:clamp(2rem,4vw,2.6rem);}
.faq-list{max-width:700px; margin:40px auto 0; display:grid; gap:14px;}
details.q{background:var(--cream-light); border-radius:16px; padding:18px 22px;}
details.q summary{font-weight:700; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; font-size:1.03rem;}
details.q summary::-webkit-details-marker{display:none;}
details.q summary::after{content:'+'; font-size:1.4rem; color:var(--poppy); margin-left:12px;}
details.q[open] summary::after{content:'–';}
details.q p{margin:12px 0 0; font-size:.98rem;}
details.q ul{margin:12px 0 0; padding-left:20px; display:grid; gap:8px;}
details.q ul li{font-size:.98rem; line-height:1.5;}

/* ---------- "next page" hand-off block that closes every page ----------
   Principle 5: contextual links beat navigation. Every page ends by
   pointing at the gathering, or at what supports it. */
.handoff{background:var(--cream-light); text-align:center;}
.handoff .wrap{max-width:640px;}
.handoff h2{font-size:clamp(1.7rem,3.2vw,2.2rem);}
.handoff .cta-row{justify-content:center;}

@media (max-width:760px){
  .site section{padding:76px 0;}
  .practice .grid, .host .grid{grid-template-columns:1fr;}
  .host-photo-wrap{max-width:240px; margin:0 auto;}
  .practice .visual{height:240px; transform:scale(.8);}
}
