/* Legacy 2026 year-in-review page (/legacy/). Everything is scoped under .lg so it
   never touches the rest of the site. Tree-ring motif, Know / Grow / Share colors. */
.lg {
  --lg-bg: #0c0f13; --lg-surface: #141920; --lg-surface-2: #1b222b; --lg-fg: #eef0ea;
  --lg-muted: #98a2a9; --lg-line: rgba(238, 240, 234, .12);
  --lg-know: #79bbff; --lg-grow: #a6d96f; --lg-share: #ff8f5e; --lg-gold: #e8c670; --lg-on: #0c0f13;
  --lg-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --lg-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--lg-bg); color: var(--lg-fg); font-size: 17px; line-height: 1.6; overflow-x: hidden;
}
.lg *, .lg *::before, .lg *::after { box-sizing: border-box; }
.lg h1, .lg h2, .lg h3 { font-family: var(--lg-display); color: var(--lg-fg); text-wrap: balance; margin: 0; line-height: 1; letter-spacing: 0; }
.lg p { margin: 0; }
.lg a { color: inherit; text-decoration: none; }
.lg :focus-visible { outline: 2px solid var(--lg-gold); outline-offset: 3px; border-radius: 4px; }
.lg-wrap { max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.lg-eyebrow { font-family: var(--lg-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lg-muted); }
.lg-num { font-family: var(--lg-display); font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.03em; line-height: .9; }

/* hero */
.lg-hero { position: relative; overflow: hidden; padding-block: 72px 40px; isolation: isolate; }
.lg-rings { position: absolute; inset: -30% -20% auto auto; width: min(1100px, 140vw); aspect-ratio: 1; z-index: -1; pointer-events: none; max-width: none; }
.lg-rings circle { fill: none; stroke: var(--lg-line); }
.lg-rings circle.hl { stroke: var(--lg-gold); stroke-opacity: .55; }
.lg-hero-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.lg-hero h1 { font-size: clamp(4.2rem, 17vw, 15rem); font-weight: 800; letter-spacing: -.055em; margin-top: 28px; line-height: .82; }
.lg-hero h1 .yr { display: block; font-weight: 300; font-size: .32em; letter-spacing: -.02em; color: var(--lg-gold); margin-top: .25em; }
.lg-kgs { display: flex; flex-wrap: wrap; gap: .2em .5em; font-family: var(--lg-display); font-weight: 500; font-size: clamp(1.6rem, 4.6vw, 3.2rem); margin-top: 28px; letter-spacing: -.02em; }
.lg-kgs span:nth-child(1) { color: var(--lg-know); } .lg-kgs span:nth-child(2) { color: var(--lg-grow); } .lg-kgs span:nth-child(3) { color: var(--lg-share); }
.lg-lede { max-width: 58ch; margin-top: 22px; color: var(--lg-muted); font-size: 1.12rem; }

/* film */
.lg-film { padding-block: 24px 72px; }
.lg-video { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border-radius: 20px; border: 1px solid var(--lg-line); background: var(--lg-surface); }

/* strip */
.lg-strip { border-block: 1px solid var(--lg-line); padding-block: 40px; }
.lg-strip .lg-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lg-strip .lg-num { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.lg-strip p { color: var(--lg-muted); margin-top: 8px; font-size: .95rem; }
@media (max-width: 760px) { .lg-strip .lg-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* pillars */
.lg-pillar { padding-block: 96px 88px; position: relative; }
.lg-pillar + .lg-pillar { border-top: 1px solid var(--lg-line); }
.lg-know { --c: var(--lg-know); } .lg-grow { --c: var(--lg-grow); } .lg-share { --c: var(--lg-share); } .lg-next { --c: var(--lg-gold); }
.lg-head { display: grid; grid-template-columns: auto 1fr; gap: 12px 28px; align-items: end; margin-bottom: 56px; }
.lg-idx { font-family: var(--lg-display); font-weight: 300; font-size: clamp(4rem, 12vw, 9rem); line-height: .8; color: var(--c); letter-spacing: -.05em; }
.lg-head h2 { font-size: clamp(2.6rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -.04em; }
.lg-head h2 em { font-style: normal; color: var(--c); }
.lg-head .sub { grid-column: 2; color: var(--lg-muted); max-width: 56ch; font-size: 1.08rem; }
@media (max-width: 640px) { .lg-head { grid-template-columns: 1fr; } .lg-head .sub { grid-column: 1; } }

.lg-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.lg-tile { background: var(--lg-surface); border: 1px solid var(--lg-line); border-radius: 18px; padding: 26px 24px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.lg-tile .lg-num { font-size: clamp(3rem, 7vw, 5.2rem); color: var(--lg-fg); }
.lg-tile .lg-num .u { color: var(--c); }
.lg-tile h3 { font-family: inherit; font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.lg-tile p { color: var(--lg-muted); font-size: .95rem; }
.lg-tile.lg-hi { background: var(--c); border-color: transparent; }
.lg-tile.lg-hi, .lg-tile.lg-hi .lg-num, .lg-tile.lg-hi h3, .lg-tile.lg-hi p, .lg-tile.lg-hi .lg-eyebrow { color: var(--lg-on); }
.lg-tile.lg-hi p { opacity: .82; }
.lg .s2 { grid-column: span 2; } .lg .s3 { grid-column: span 3; } .lg .s4 { grid-column: span 4; } .lg .s6 { grid-column: span 6; }
@media (max-width: 900px) { .lg .s2 { grid-column: span 3; } .lg .s4 { grid-column: span 6; } }
@media (max-width: 560px) { .lg .s2, .lg .s3 { grid-column: span 6; } }
.lg-verse { margin-top: auto; font-family: var(--lg-display); font-weight: 300; font-size: 1.05rem; font-style: italic; }
.lg-row { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px 40px; }

/* Bible Breakdown */
.lg-bb { margin-top: 56px; border-radius: 24px; overflow: hidden; border: 1px solid var(--lg-line); background: var(--lg-surface); display: grid; grid-template-columns: 1.1fr 1fr; }
@media (max-width: 860px) { .lg-bb { grid-template-columns: 1fr; } }
.lg-bb-l { padding: 40px 36px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lg-bb-l .lg-num { font-size: clamp(4.4rem, 12vw, 8.6rem); color: var(--lg-know); }
.lg-bb-l h3 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 500; }
.lg-bb-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; margin-top: 8px; }
.lg-bb-meta div { border-top: 1px solid var(--lg-line); padding-top: 12px; }
.lg-bb-meta b { display: block; font-family: var(--lg-display); font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.lg-bb-meta span { color: var(--lg-muted); font-size: .88rem; }
.lg-bb-r { position: relative; background: var(--lg-surface-2); min-height: 340px; display: grid; place-items: center; padding: 28px 28px 110px; }
.lg-globe { width: min(360px, 100%); aspect-ratio: 1; max-width: 100%; }
.lg-globe .dot { fill: var(--lg-muted); opacity: .35; }
.lg-globe .lit { fill: var(--lg-know); }
.lg-globe .ring { fill: none; stroke: var(--lg-line); }
.lg-globe-cap { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.lg-globe-cap b { font-family: var(--lg-display); font-size: 2.2rem; font-weight: 800; }
.lg-src { font-family: var(--lg-mono); font-size: .72rem; color: var(--lg-muted); letter-spacing: .04em; }

/* LifeGroups ring */
.lg-ringstat { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.lg-donut { width: 180px; aspect-ratio: 1; flex: none; max-width: 100%; }
.lg-donut circle { fill: none; stroke-width: 14; }
.lg-donut .track { stroke: var(--lg-surface-2); }
.lg-donut .val { stroke: var(--lg-grow); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1.6s cubic-bezier(.2, .7, .2, 1); }
.lg-donut text { fill: var(--lg-fg); font-family: var(--lg-display); font-weight: 800; font-size: 34px; }
.lg-big3 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }

/* people dots */
.lg-people { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; margin-top: 6px; }
.lg-people i { aspect-ratio: 1; border-radius: 50%; background: var(--lg-surface-2); }
.lg-people i.on { background: var(--lg-share); }

/* serve week */
.lg-serve { margin-top: 56px; }
.lg-serve-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.lg-serve-head h3 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; margin-top: 6px; }
.lg-serve-head p { color: var(--lg-muted); max-width: 38ch; }
.lg-serve-head p b { color: var(--lg-fg); }
.lg-serve-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--lg-line); padding: 0; margin: 0; }
@media (max-width: 860px) { .lg-serve-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lg-serve-list { grid-template-columns: 1fr; } }
.lg-serve-list li { list-style: none; padding: 20px 18px 20px 0; border-bottom: 1px solid var(--lg-line); display: flex; gap: 16px; align-items: baseline; min-width: 0; }
.lg-serve-list b { font-family: var(--lg-display); font-weight: 800; font-size: 2.2rem; color: var(--lg-share); min-width: 2.6ch; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.lg-food { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.lg-chip { font-family: var(--lg-mono); font-size: .82rem; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--lg-line); background: var(--lg-surface); }
.lg-chip b { color: var(--lg-share); }

/* camp bar */
.lg-camp { display: flex; height: 22px; border-radius: 999px; overflow: hidden; margin-top: 6px; background: var(--lg-surface-2); }
.lg-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; color: var(--lg-muted); margin-top: 10px; }
.lg-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }

/* close */
.lg-close { padding-block: 120px 96px; position: relative; overflow: hidden; border-top: 1px solid var(--lg-line); isolation: isolate; }
.lg-close .lg-rings { inset: auto auto -45% -25%; }
.lg-close blockquote { margin: 20px 0 0; font-family: var(--lg-display); font-weight: 300; font-size: clamp(2rem, 5.4vw, 4.4rem); letter-spacing: -.03em; line-height: 1.05; max-width: 18ch; }
.lg-close cite { display: block; margin-top: 18px; font-style: normal; }
.lg-thanks { margin-top: 56px; max-width: 60ch; font-size: 1.12rem; color: var(--lg-muted); }
.lg-ctas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 48px; }
@media (max-width: 860px) { .lg-ctas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .lg-ctas { grid-template-columns: 1fr; } }
.lg-cta { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 16px; border: 1px solid var(--lg-line); background: var(--lg-surface); transition: transform .2s, border-color .2s; }
.lg-cta:hover { transform: translateY(-3px); border-color: var(--c, var(--lg-gold)); }
.lg-cta b { font-family: var(--lg-display); font-size: 1.25rem; font-weight: 800; }
.lg-cta span { color: var(--lg-muted); font-size: .9rem; }
.lg-cta .arrow { color: var(--c, var(--lg-gold)); font-family: var(--lg-mono); }

/* reveal: visible at rest; lifts in only when scripted */
.lg-anim .lg-rv { transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.lg-anim .lg-rv.pre { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) { .lg *, .lg *::before { animation: none !important; transition: none !important; } .lg-anim .lg-rv.pre { opacity: 1; transform: none; } }
