/* 교회 소개 v4 (owner-approved board docs/boards/about-v4.png, 2026-11-22: "전달되는 방식이 너무 밋밋하고 효과적이지 않다").
   Five scenes on one hanging-label grid (label columns 1–3, content 4–12), each with ONE device that carries its meaning:
   a path that draws (where the church has been), key phrases that light as they are read (what it is), a loop (how it
   grows), a calm index (what it holds dear), a split (its two mandates). Without motion everything is simply shown. */
#intro .ab-scene { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start;
  margin: var(--s6) 0 0; padding: var(--s3) 0 0; border-top: 1px solid var(--ink); }
#intro .ab-k { grid-column: 1 / span 3; margin: 0; font: 600 15px/1.5 var(--sans); letter-spacing: .04em; color: var(--ink); }
#intro .ab-body { grid-column: 4 / -1; margin: 0; padding: 0; min-width: 0; }

/* 1 · 걸어온 자리: one line drawn left to right through four places */
#intro .ab-year { display: block; margin-top: var(--s2); font: 300 56px/1.2 var(--sans); letter-spacing: -.03em; color: var(--blue); }
#intro .ab-stops { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; margin: 0; padding: 32px 0 0; list-style: none; }
#intro .ab-stops::before { content: ""; position: absolute; left: 7px; right: 0; top: 7px; height: 2px; border-radius: 1px; background: var(--night);
  transform-origin: left center; transform: scaleX(0); transition: transform 1.4s cubic-bezier(.65,0,.35,1); }
#intro .ab-stops li { position: relative; display: flex; flex-direction: column; gap: 4px; }
#intro .ab-stops li::before { content: ""; position: absolute; left: 0; top: -32px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--sand); box-shadow: inset 0 0 0 2px var(--night); transform: scale(0); transition: transform var(--spring-smooth-dur) var(--spring-smooth); }
#intro .ab-stops li:first-child::before { background: var(--night); }
#intro .ab-stops li:nth-child(2)::before { transition-delay: .35s; } #intro .ab-stops li:nth-child(3)::before { transition-delay: .7s; } #intro .ab-stops li:nth-child(4)::before { transition-delay: 1.05s; }
#intro .ab-when { font: 600 15px/1.5 var(--sans); color: #9C5200; letter-spacing: .02em; }
#intro .ab-stops b { font: 600 18px/1.4 var(--sans); color: var(--night); word-break: keep-all; overflow-wrap: anywhere; }
#intro .ab-stops li > span:last-child { font: 400 15px/1.6 var(--sans); color: var(--ink-2); }
#intro .ab-note { max-width: 36em; margin: var(--s5) 0 0; font: 400 17px/1.8 var(--sans); color: var(--ink-2); }
#intro .ab-path.in .ab-stops::before { transform: scaleX(1); }
#intro .ab-path.in .ab-stops li::before { transform: scale(1); }

/* 2 · 홍콩엘림교회는: the subject stays; each statement's key phrase lights as it is read */
#intro .ab-is { align-items: stretch; }
#intro .ab-subject { align-self: start; position: sticky; top: calc(var(--header-h, 72px) + 24px);
  font: 600 36px/1.3 var(--sans); letter-spacing: -.02em; color: var(--night); }
#intro .ab-four { list-style: none; }
#intro .ab-four li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: baseline; padding: var(--s4) 0; border-top: 1px solid var(--rule);
  font: 400 26px/1.55 var(--sans); letter-spacing: -.01em; color: var(--night); transition: color var(--spring-smooth-dur) var(--spring-smooth); }
#intro .ab-four li:first-child { border-top: 0; padding-top: 0; }
#intro .ab-four .num { font: 600 15px/1.5 var(--sans); color: #9C5200; letter-spacing: .04em; }
#intro .ab-four b { font-weight: 600; color: var(--night);
  background-image: linear-gradient(var(--orange), var(--orange)); background-repeat: no-repeat; background-position: 0 92%; background-size: 100% 3px;
  transition: background-size var(--spring-smooth-dur) var(--spring-smooth), color var(--spring-smooth-dur) var(--spring-smooth); }
#intro .ab-is.is-live li:not(.is-lit) { color: var(--ink-2); }
#intro .ab-is.is-live li:not(.is-lit) b { color: var(--ink-2); background-size: 0 3px; }

/* 3 · 성장원리: four verbs on one loop around the centre (a square wheel, so one set of percentages places them) */
#intro .ab-grow .ab-body { display: grid; place-items: center; padding: var(--s5) var(--s4); border-radius: 8px; background: var(--spring-2); }
#intro .ab-wheel { position: relative; width: min(100%, 440px); aspect-ratio: 1; }
#intro .ab-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
#intro .ab-ring path { fill: none; stroke: var(--night); stroke-width: 2; stroke-linecap: round; }
#intro .ab-ring marker path { stroke-width: 1.6; stroke-linejoin: round; }
#intro .ab-arcs { transform-origin: 200px 200px; }
#intro .ab-grow.in .ab-arcs { animation: ab-turn 1.8s cubic-bezier(.65,0,.35,1) .2s both; }
@keyframes ab-turn { from { transform: rotate(-90deg); opacity: 0; } 30% { opacity: 1; } to { transform: rotate(0); opacity: 1; } }
#intro .ab-verbs { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
#intro .ab-verbs li { position: absolute; transform: translate(-50%, -50%); font: 600 36px/1.3 var(--sans); letter-spacing: -.02em; color: var(--night); white-space: nowrap; }
#intro .ab-verbs .n { left: 50%; top: 15%; } #intro .ab-verbs .e { left: 85%; top: 50%; }
#intro .ab-verbs .s { left: 50%; top: 85%; } #intro .ab-verbs .w { left: 15%; top: 50%; }
#intro .ab-verbs li { padding: 4px 8px; border-radius: 8px; background: var(--spring-2); }   /* the word sits on the line, the line stops at it */
#intro .ab-core { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); font: 500 20px/1.4 var(--sans); color: var(--ink-2); white-space: nowrap; }

/* 4 · 가치: a calm two-column index (eight emphases would be noise) */
#intro .ab-values ol { display: block; columns: 2; column-gap: 24px; list-style: none; counter-reset: v; }
#intro .ab-values li { break-inside: avoid; display: grid; grid-template-columns: 40px minmax(0, 1fr); padding: var(--s2) 0; border-top: 1px solid var(--rule);
  counter-increment: v; font: 400 20px/1.6 var(--sans); color: var(--ink); }
#intro .ab-values li::before { content: counter(v, decimal-leading-zero); font: 600 15px/2.1 var(--sans); color: #9C5200; letter-spacing: .04em; }

/* 5 · 사명: two mandates, split by one rule */
#intro .ab-mission dl { display: grid; grid-template-columns: 1fr 1fr; }
#intro .ab-mission dl > div { padding: 0 var(--s4) 0 0; }
#intro .ab-mission dl > div + div { padding: 0 0 0 var(--s4); border-left: 1px solid var(--rule); }
#intro .ab-mission dt { font: 600 56px/1.2 var(--sans); letter-spacing: -.03em; color: var(--night); }
#intro .ab-mission dd { max-width: 22em; margin: var(--s2) 0 0; font: 400 17px/1.8 var(--sans); color: var(--ink-2); }

@media (max-width: 1100px) {
  #intro .ab-stops { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s4); }
  #intro .ab-stops::before { display: none; }
  #intro .ab-mission dt { font-size: 36px; }
}
@media (max-width: 760px) {
  #intro .ab-scene { display: block; margin-top: var(--s5); }
  #intro .ab-k { margin-bottom: var(--s3); }
  #intro .ab-year { display: inline; margin: 0 0 0 var(--s1); font-size: 15px; font-weight: 600; letter-spacing: .04em; }
  /* the path runs down the left edge */
  #intro .ab-stops { grid-template-columns: 1fr; row-gap: var(--s3); padding: 0 0 0 32px; }
  #intro .ab-stops::before { display: block; left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; transform-origin: center top; transform: scaleY(0); }
  #intro .ab-path.in .ab-stops::before { transform: scaleY(1); }
  #intro .ab-stops li::before { left: -32px; top: 4px; }
  #intro .ab-note { margin-top: var(--s4); font-size: 15px; }
  #intro .ab-subject { position: static; font-size: 21px; }
  #intro .ab-four li { grid-template-columns: 32px minmax(0, 1fr); padding: var(--s2) 0; font-size: 20px; }
  #intro .ab-grow .ab-body { padding: var(--s3) var(--s2); }
  #intro .ab-verbs li { font-size: 20px; padding: 4px 4px; }
  #intro .ab-core { font-size: 15px; }
  #intro .ab-values ol { columns: 1; }
  #intro .ab-values li { grid-template-columns: 32px minmax(0, 1fr); padding: 12px 0; font-size: 17px; }
  #intro .ab-mission dl { grid-template-columns: 1fr; }
  #intro .ab-mission dl > div, #intro .ab-mission dl > div + div { padding: 0; border: 0; }
  #intro .ab-mission dl > div + div { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--rule); }
  #intro .ab-mission dt { font-size: 28px; }
  #intro .ab-mission dd { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  #intro .ab-stops::before, #intro .ab-stops li::before { transform: none !important; transition: none; }
  #intro .ab-grow .ab-arcs { animation: none !important; }
  #intro .ab-four li, #intro .ab-four b { transition: none; }
}

#intro .ab-stops b { overflow-wrap: normal; } #intro .ab-stops .nw { white-space: nowrap; }

/* calmer (owner, 2026-11-22: "슬롭 같은 디자인 좀 적당해라"): one label style for every scene, the four statements all
   shown with only their key phrase in bold (no dimming, no underline), tighter rows, and the growth loop smaller on the
   paper without a box */
#intro .ab-subject { position: static; font: 600 15px/1.5 var(--sans) !important; letter-spacing: .04em; color: var(--ink); }
#intro .ab-four li { padding: var(--s3) 0; font-size: 22px; color: var(--ink-2); }
#intro .ab-four li:first-child { padding-top: 0; }
#intro .ab-four b { color: var(--night); background: none !important; }
#intro .ab-is.is-live li:not(.is-lit), #intro .ab-is.is-live li:not(.is-lit) b { color: inherit; }
#intro .ab-is.is-live li:not(.is-lit) b { color: var(--night); }
#intro .ab-grow .ab-body { display: block; padding: 0; border-radius: 0; background: none; }
#intro .ab-wheel { width: min(100%, 340px); margin: 0; }
#intro .ab-verbs li { font-size: 22px; padding: 0 8px; background: var(--sand); }
#intro .ab-core { font-size: 17px; }
@media (max-width: 760px) {
  #intro .ab-four li { font-size: 18px; padding: var(--s2) 0; }
  #intro .ab-wheel { width: min(100%, 300px); margin: 0 auto; }
  #intro .ab-verbs li { font-size: 18px; }
  #intro .ab-core { font-size: 15px; }
}

/* less empty space (owner, 2026-11-23: "여백이 너무 많다"): scenes sit 64px apart, the loop is smaller and starts level with
   its label */
#intro .ab-scene { margin-top: var(--s5); }
#intro .ab-wheel { width: min(100%, 260px); margin-top: -8px; } /* scale-exception: optical or section offset -8px */
#intro .ab-verbs li { font-size: 20px; }
#intro .ab-core { font-size: 15px; }

/* 귀하게 생각하는 가치 (owner, 2026-11-23: "정렬 맞춰라"): one grid of four rows, filled down then across, so 01/05,
   02/06, 03/07, 04/08 always share a row (a wrapped line grows the whole row, not one column); each number sits on the
   first line's baseline of its text */
#intro .ab-values ol { display: grid !important; columns: auto !important; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto);
  grid-auto-flow: column; column-gap: 48px; row-gap: 0; }
#intro .ab-values li { align-items: baseline; }
#intro .ab-values li::before { line-height: 1.5 !important; }
@media (max-width: 760px) { #intro .ab-values ol { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } }
/* the first row of each column carries no top line (owner, 2026-11-23: "위에 라인 … 필요없을듯"); lines sit only between items */
#intro .ab-values li:nth-child(1), #intro .ab-values li:nth-child(5) { border-top: 0 !important; }
@media (max-width: 760px) { #intro .ab-values li:nth-child(5) { border-top: 1px solid var(--rule) !important; } }
/* 함께하는 곳: lines only between rows, none above the first (owner, 2026-11-23: "처음 디바이더는 굳이 필요없을듯") */
.in-bonds dl > div:first-child, .in-bonds dl > dt:first-of-type, .in-bonds dl > div:first-child > * { border-top: 0 !important; }
