/* Layout: soft editorial pages, left-aligned text over a peach sunburst motif, plum band footer.
   Single light look by choice, matching the printed SPARK materials. */
:root {
  --plum: #773a4d;
  --plum-deep: #5c2b3b;
  --rose: #dfada8;
  --peach: #edc2a3;
  --blush: #f7ebe3;
  --cream: #f8f6f2;
  --paper: #fffdfb;
  --ink: #3a2a30;
  --muted: #7d6a70;
  --line: #ead7cc;
  --gold: #b8875a;
  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --body: "Livvic", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--plum); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--plum); text-wrap: balance; margin: 0; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 300; }
h3 { font-size: 1.6rem; }
p { margin: 0; }
em.serif, .serif-i { font-family: var(--display); font-style: italic; font-weight: 400; }
.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: 660px; }
.eyebrow { font-size: .78rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.stack { display: grid; gap: 20px; }
.rule { width: 96px; height: 1px; background: var(--peach); border: 0; margin: 0; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 2px; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--cream) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; flex-wrap: wrap; }
.brand img { width: 108px; }
.nav { display: flex; gap: 4px 26px; flex-wrap: wrap; }
.nav a { font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding-block: 6px; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--plum); border-bottom-color: var(--peach); }
.nav a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--plum); }

/* Sunburst */
.burst { position: absolute; pointer-events: none; aspect-ratio: 1; max-width: 100%; }
.burst line { stroke: var(--peach); stroke-width: 1.4; stroke-linecap: round; }
.burst .glow { fill: url(#sg); }
@media (prefers-reduced-motion: no-preference) {
  .burst.spin g.rays { transform-origin: 50% 50%; animation: turn 140s linear infinite; }
  @keyframes turn { to { transform: rotate(360deg); } }
}

/* Sections */
section { padding-block: clamp(64px, 9vw, 112px); position: relative; }
.band-blush { background: var(--blush); }
.band-paper { background: var(--paper); }
.page-head { position: relative; padding-block: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 64px); overflow: hidden; }
.page-head .burst { width: 520px; right: -140px; top: -170px; opacity: .8; }
.page-head .wrap { position: relative; display: grid; gap: 18px; }

/* Home hero */
.hero { overflow: hidden; padding-block: clamp(72px, 10vw, 128px); }
.hero .burst { width: min(760px, 120vw); right: -160px; top: 50%; transform: translateY(-50%); }
.hero .wrap { position: relative; display: grid; gap: 26px; }
.hero h1 { max-width: 13ch; }
.hero h1 em { font-style: italic; }

.split { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px 48px; margin-top: 48px; }
.pillar { display: grid; gap: 10px; align-content: start; border-top: 1px solid var(--rose); padding-top: 20px; }
.pillar h3 { font-size: 1.75rem; }
.pillar p { color: var(--muted); }

.pull { font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(2rem, 4.5vw, 3.4rem); color: var(--plum); line-height: 1.15; text-wrap: balance; max-width: 22ch; }

/* Feature card (retreat teaser) */
.feature { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; background: var(--paper); border: 1px solid var(--peach); padding: clamp(28px, 5vw, 56px); }
.feature > * { min-width: 0; }
@media (max-width: 700px) { .feature { grid-template-columns: 1fr; } }
.datebig { font-family: var(--display); font-weight: 300; color: var(--plum); line-height: .9; font-size: clamp(3.6rem, 9vw, 6.4rem); font-variant-numeric: lining-nums; }
.datebig small { display: block; font-family: var(--body); font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-top: 12px; font-weight: 500; }
.textlink { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--plum); border-bottom: 1px solid var(--peach); padding-bottom: 4px; justify-self: start; font-weight: 500; }
.textlink:hover { border-bottom-color: var(--plum); }

/* Event list */
.events { display: grid; gap: 0; border-top: 1px solid var(--line); }
.event { display: grid; grid-template-columns: 112px 84px 1fr auto; gap: 8px 32px; padding-block: 26px; border-bottom: 1px solid var(--line); align-items: baseline; }
.event > * { min-width: 0; }
.event .when { font-weight: 700; color: var(--plum); letter-spacing: .04em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.event .when span { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.event h3 { font-size: 1.55rem; margin-bottom: 6px; }
.event p { color: var(--muted); }
.tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--rose); color: var(--plum); white-space: nowrap; border-radius: 999px; }
.tag.inperson { background: var(--blush); border-color: var(--peach); }
.tag.feature-tag { background: var(--plum); color: var(--cream); border-color: var(--plum); }
.event { align-items: center; }
.faces { display: flex; align-items: center; }
.faces img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); box-shadow: 0 0 0 1px var(--peach); }
.faces.duo img { width: 54px; height: 54px; }
.faces.duo img + img { margin-left: -16px; }
.faces.mark span { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle, var(--peach) 0 18%, var(--blush) 19% 100%); box-shadow: 0 0 0 1px var(--line); display: block; }
@media (max-width: 640px) {
  .event { grid-template-columns: auto 1fr; gap: 10px 16px; }
  .event .faces { grid-column: 1; grid-row: 1 / span 2; align-self: start; }
  .event .when { grid-column: 2; }
  .event > div:not(.faces) { grid-column: 1 / -1; }
  .event .tag { grid-column: 1 / -1; justify-self: start; }
  .faces img, .faces.mark span { width: 52px; height: 52px; }
  .faces.duo img { width: 46px; height: 46px; }
}

.rhythm { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.rhythm-card { background: var(--paper); border: 1px solid var(--line); padding: 30px 28px; display: grid; gap: 10px; align-content: start; }
.rhythm-card .eyebrow { margin-bottom: 4px; }
.rhythm-card p { color: var(--muted); }

/* Retreat */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 40px; }
.fact { display: grid; gap: 6px; }
.fact dt { font-family: var(--display); font-style: italic; font-size: 1.5rem; color: var(--plum); }
.fact dd { margin: 0; color: var(--ink); }
.method { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.step:first-child { border-top: 1px solid var(--line); }
.step > div { min-width: 0; }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--plum); color: var(--cream); display: grid; place-items: center; font-weight: 700; font-size: .95rem; }
.step h3 { font-size: 1.6rem; margin-bottom: 4px; }
.step p { color: var(--muted); }
.days { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.day { background: var(--paper); border: 1px solid var(--peach); padding: 28px; display: grid; gap: 14px; align-content: start; }
.day.featured { border: 1.5px solid var(--plum); }
.day h3 { font-size: 2rem; }
.day .sub { font-family: var(--display); font-style: italic; color: var(--gold); font-size: 1.1rem; margin-top: -8px; }
.day ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.day li { display: grid; grid-template-columns: 74px 1fr; gap: 10px; }
.day li b { color: var(--plum); font-variant-numeric: tabular-nums; }
.note { background: var(--blush); border: 1px solid var(--peach); padding: 28px 32px; display: grid; gap: 8px; }
.note h3 { font-style: italic; font-size: 1.6rem; }

/* Founders */
.founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px 48px; }
.founder { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 8px; align-content: start; border-top: 1px solid var(--rose); padding-top: 22px; }
.founder h3 { align-self: end; }
.founder h3 { font-size: 2rem; }
.founder .role { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.values div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 20px; text-align: center; font-family: var(--display); font-size: 1.7rem; color: var(--plum); font-style: italic; }

/* Footer */
.site-footer { background: var(--plum); color: var(--cream); padding-block: 64px 40px; }
.site-footer .wrap { display: grid; gap: 28px; justify-items: center; text-align: center; }
.site-footer img { width: 170px; }
.site-footer .tagline { font-family: var(--display); font-style: italic; font-size: 1.45rem; color: var(--peach); }
.site-footer nav { display: flex; gap: 8px 24px; flex-wrap: wrap; justify-content: center; }
.site-footer nav a { color: var(--cream); text-decoration: none; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.site-footer nav a:hover { opacity: 1; }
.site-footer small { color: var(--rose); font-size: .8rem; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: rise .9s ease-out both; }
  .reveal.d2 { animation-delay: .12s; } .reveal.d3 { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
}

.partners { color: var(--muted); border-top: 1px solid var(--line); padding-top: 22px; }
.partners .serif-i { color: var(--plum); font-size: 1.3rem; margin-right: 6px; }
.photo { margin: 0; position: relative; }
.photo img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.photo::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--peach); z-index: -1; }
.photo-split { grid-template-columns: .85fr 1.15fr; isolation: isolate; }
@media (max-width: 820px) { .photo-split { grid-template-columns: 1fr; } .photo { max-width: 420px; } .photo::after { inset: 10px -10px -10px 10px; } }
.retreat-head .burst { right: auto; left: -180px; top: -200px; }
.photo-split.flip { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 820px) { .photo-split.flip { grid-template-columns: 1fr; } .photo-split.flip .photo { order: -1; } }
.photo-split.flip { align-items: center; }
.retreat-head .photo img { aspect-ratio: 4 / 5; }
