/* service-guide — blocks that exist only on 서비스가이드. Frame and shared patterns live in story.css. */

/* 01 · channel cards on the horizontal track */
.channel-card {
  width:min(400px,calc(100vw - 80px));
  min-height:420px;
  padding:32px;
  border:1px solid var(--line);
  display:flex;
  flex-direction:column;
  gap:24px;
  background:var(--paper);
}

.channel-card .caption {
  color:var(--muted);
}

.channel-card h3 {
  font-size:20px;
}

.channel-card dl {
  margin:auto 0 0;
  display:grid;
  gap:0;
}

.channel-card dl>div {
  display:grid;
  grid-template-columns:48px 1fr;
  gap:16px;
  padding:14px 0;
  border-top:1px solid var(--rule);
  font-size:var(--body);
}

.channel-card dt {
  color:var(--muted);
}

.channel-card dd {
  margin:0;
  word-break:keep-all;
}

.channel-card dl>div:nth-child(2) dd {
  font-weight:400;
}

.channel-card.is-answer {
  background:var(--ink);
  color:var(--paper);
  border-color:var(--ink);
  justify-content:space-between;
}

.channel-card.is-answer h3 {
  color:var(--ink);
}

.channel-card.is-answer p:last-child {
  font-size:var(--body);
  line-height:1.6;
  word-break:keep-all;
}

/* Three questions: each line inks in as it passes the reading line (motion.css owns the fade). */
.questions {
  list-style:none;
  margin:96px 0 0;
  padding:0;
  border-top:1px solid var(--line);
}

.questions li {
  display:grid;
  grid-template-columns:160px 1fr;
  gap:24px;
  align-items:baseline;
  padding:28px 0;
  border-bottom:1px solid var(--rule);
}

.questions .caption {
  color:var(--muted);
}

.questions p {
  font-size:var(--title);
  font-weight:400;
  line-height:1.2;
  letter-spacing:-.04em;
  word-break:keep-all;
}

/* 01 · search shift stats */
.stat-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:48px;
}

.stat {
  display:flex;
  flex-direction:column;
  gap:16px;
  padding-top:24px;
  border-top:1px solid var(--accent);
}

.stat .caption {
  color:var(--ink);
}

.stat-shift {
  display:flex;
  align-items:baseline;
  gap:12px;
  font-size:var(--title);
  font-weight:400;
  letter-spacing:-.04em;
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}

.stat-shift>span {
  color:var(--muted);
}

.stat-shift strong {
  font-weight:400;
  color:var(--ink);
}

.shift-bars {
  display:grid;
  gap:6px;
}

.shift-bars i {
  display:block;
  height:6px;
  width:calc(var(--v)*100%);
  background:#3a3a3a;
  transform-origin:left;
}

.shift-bars i.is-after {
  background:var(--accent);
}

.stat-note {
  font-size:var(--body);
  color:var(--muted);
}

.stat h3 {
  margin-top:16px;
  line-height:1.3;
}

/* 02 · connect */
.kicker {
  font-size:var(--body);
  font-weight:400;
}

.wordmark {
  font-size:var(--display);
  font-weight:400;
  line-height:1;
  letter-spacing:-.05em;
}

.wordmark i {
  font-style:normal;
  color:var(--ink);
  -webkit-text-stroke:2px var(--ink);
}

/* 02 · full-bleed solution plate */
.story-bleed {
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:48px;
  padding-top:0;
  border-top:0;
}

.bleed-plate {
  grid-column:1/-1;
  margin:0 calc(var(--gutter)*-1);
  height:min(78svh,760px);
}

.bleed-title {
  grid-column:1/8;
  margin-top:calc(-48px - .62em);
  position:relative;
  font-size:var(--display);
  word-break:keep-all;
}

.bleed-copy {
  grid-column:8/-1;
  display:flex;
  flex-direction:column;
  gap:20px;
  padding-top:24px;
}

.bleed-copy .caption {
  color:var(--muted);
}

.lead-strong {
  font-size:20px;
  font-weight:400;
  line-height:1.6;
  word-break:keep-all;
}

.bleed-copy p:last-child {
  color:var(--muted);
  word-break:keep-all;
}

.bleed-copy strong {
  color:var(--ink);
  font-weight:400;
}

/* 02 · QUALITY 3T split with sticky aside */
.split {
  display:grid;
  grid-template-columns:minmax(0,5fr) minmax(0,7fr);
  gap:48px;
  align-items:start;
}

.split-aside {
  position:sticky;
  top:48px;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.split-aside .display-num {
  font-size:var(--display);
}

.t-rows {
  list-style:none;
  margin:0;
  padding:0;
}

.t-rows li {
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.6fr);
  gap:24px;
  align-items:baseline;
  min-height:32svh;
  padding:32px 0;
  border-top:1px solid var(--rule);
}

.t-name {
  font-size:var(--title);
  font-weight:400;
  letter-spacing:-.04em;
  line-height:1;
}

.t-ask {
  font-weight:400;
}

.t-rows li p:last-child {
  color:var(--muted);
  word-break:keep-all;
}

.t-rows li.is-current .t-name {
  color:var(--ink);
}

/* 02 · QUANTITY scale */
.scale {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  gap:48px 64px;
}

.scale article {
  display:flex;
  flex-direction:column;
  gap:8px;
  padding-top:24px;
  border-top:1px solid var(--line);
}

.scale h3 {
  margin-top:16px;
}

.scale article>p:last-child {
  color:var(--muted);
}

.scale-main .display-num {
  font-size:var(--display);
}

.partner-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:8px;
  align-content:end;
}

.partner-grid span {
  aspect-ratio:1;
  background:var(--gray);
}

.partner-grid .caption {
  grid-column:1/-1;
  color:var(--muted);
  margin-top:8px;
}

.scale .stat-num {
  font-size:var(--display);
}

/* 02 · 12 personas list: one structure, twelve records from config */
.guide-personas {
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.guide-persona a {
  height:100%;
  min-height:220px;
  padding:20px;
  border-top:3px solid var(--accent);
  background:#fafafa;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.guide-persona-top {
  display:flex;
  justify-content:space-between;
  gap:12px;
  font-size:var(--small);
  letter-spacing:.06em;
}

.guide-persona-top span:first-child {
  color:var(--muted);
}

.guide-persona-nick {
  font-weight:400;
}

.guide-persona h3 {
  font-size:20px;
  line-height:1.3;
}

.guide-persona-dept {
  font-size:var(--small);
  color:var(--muted);
  word-break:keep-all;
}

.guide-persona-care {
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid var(--rule);
  font-size:var(--small);
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.guide-persona-care span:last-child {
  transition:transform .2s;
}

.guide-persona a:hover,
.guide-persona a:focus-visible {
  background:var(--ink);
  color:var(--paper);
}

.guide-persona a:hover .guide-persona-care span:last-child,
.guide-persona a:focus-visible .guide-persona-care span:last-child {
  transform:translate(3px,-3px);
}

.guide-persona a:hover .guide-persona-dept,
.guide-persona a:focus-visible .guide-persona-dept,
.guide-persona a:hover .guide-persona-top span:first-child,
.guide-persona a:focus-visible .guide-persona-top span:first-child {
  color:#bdbdbd;
}

.guide-persona-empty {
  grid-column:1/-1;
  color:var(--muted);
}

/* 03 · plans */
.plans {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px;
}

.plan {
  display:flex;
  flex-direction:column;
  gap:16px;
  padding-top:24px;
  border-top:1px solid var(--accent);
}

.plan .caption {
  color:var(--ink);
}

.plan .caption b {
  font-weight:400;
}

.plan h3 {
  font-size:20px;
}

.plan-ask {
  font-size:var(--body);
  color:var(--muted);
  min-height:3em;
  word-break:keep-all;
}

.rings {
  width:120px;
  height:120px;
  margin:8px 0;
  overflow:visible;
}

.rings circle {
  fill:none;
  stroke:#555;
  stroke-width:1;
}

.rings .dot {
  fill:var(--accent);
  stroke:none;
}

.rings[data-level="3"] circle:nth-child(1),
.rings[data-level="2"] circle:nth-child(2),
.rings[data-level="1"] circle:nth-child(3) {
  fill:#cdfb4926;
  stroke:var(--accent);
  stroke-width:2;
}

.plan-scope {
  display:flex;
  flex-direction:column;
  padding-top:16px;
  border-top:1px solid var(--rule);
  color:var(--muted);
}

.plan-scope strong {
  font-size:20px;
  font-weight:400;
  color:var(--paper);
}

.plan-include {
  font-size:var(--body);
  min-height:3em;
}

.plan-price {
  margin-top:auto;
  display:flex;
  flex-direction:column;
  gap:4px;
  padding-top:16px;
  border-top:1px solid var(--rule);
}

.plan-price small {
  font-size:var(--small);
  color:var(--muted);
}

.plan-price strong {
  font-size:var(--title);
  font-weight:400;
  letter-spacing:-.04em;
  color:var(--ink);
}

.plan.is-recommended {
  border-top-width:3px;
}

/* 03 · simulation */
.sim {
  display:grid;
  gap:32px;
}

.sim-budgets {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid var(--ink);
}

.sim-budgets button {
  min-height:64px;
  padding:12px 16px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  font-size:var(--body);
  font-weight:400;
  text-align:left;
}

.sim-budgets button+button {
  border-left:1px solid var(--ink);
}

.sim-budgets small {
  font-size:var(--small);
  font-weight:400;
  color:var(--muted);
}

.sim-budgets [aria-checked=true] {
  background:var(--ink);
  color:var(--paper);
}

.sim-budgets [aria-checked=true] small {
  color:var(--paper);
}

.sim-result {
  display:grid;
  gap:0;
  border-top:1px solid var(--line);
}

.sim-row {
  display:grid;
  grid-template-columns:220px minmax(0,1fr) 220px;
  gap:24px;
  align-items:center;
  padding:20px 0;
  border-bottom:1px solid var(--rule);
}

.sim-row>p:first-child {
  display:flex;
  flex-direction:column;
}

.sim-row strong {
  font-size:20px;
  font-weight:400;
}

.sim-row small {
  font-size:var(--small);
  color:var(--muted);
}

.sim-bar {
  height:24px;
  background:var(--gray);
}

.sim-bar i {
  display:block;
  height:100%;
  width:100%;
  background:var(--ink);
  transform-origin:left;
  transform:scaleX(var(--v,0));
}

.sim-row.is-recommended .sim-bar i {
  background:var(--accent);
  box-shadow:inset 0 0 0 1px var(--ink);
}

.sim-value {
  text-align:right;
  font-size:var(--body);
  color:var(--muted);
}

.sim-value b {
  display:block;
  font-size:20px;
  font-weight:400;
  letter-spacing:-.04em;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
}

.sim-table {
  width:100%;
  border-collapse:collapse;
  font-variant-numeric:tabular-nums;
}

.sim-table caption {
  text-align:left;
  color:var(--muted);
  padding-bottom:12px;
}

.sim-table th,
.sim-table td {
  padding:14px 16px;
  border-bottom:1px solid var(--rule);
  text-align:left;
  font-weight:400;
  font-size:var(--body);
  transition:background .2s;
}

.sim-table thead th {
  font-size:var(--small);
  letter-spacing:.04em;
  border-bottom:1px solid var(--ink);
}

.sim-table small {
  display:block;
  font-size:var(--small);
  color:var(--muted);
}

.sim-table tbody th {
  font-weight:400;
}

.sim-table .is-col {
  background:#cdfb4933;
}

.sim-table thead .is-col {
  background:var(--accent);
}

@media(max-width:1020px) {
  .stat-grid {
    grid-template-columns:1fr;
    gap:40px;
  }
  .story-bleed {
    grid-template-columns:minmax(0,1fr);
    gap:32px;
  }
  .bleed-title,
  .bleed-copy {
    grid-column:1/-1;
  }
  .split {
    grid-template-columns:1fr;
  }
  .split-aside {
    position:static;
  }
  .t-rows li {
    min-height:0;
  }
  .scale {
    grid-template-columns:1fr;
  }
  .guide-personas {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .sim-row {
    grid-template-columns:180px minmax(0,1fr) 180px;
  }
}

@media(max-width:760px) {
  .channel-card {
    min-height:360px;
    padding:24px;
  }
  .channel-card h3 {
    font-size:20px;
  }
  .questions {
    margin-top:64px;
  }
  .questions li {
    grid-template-columns:1fr;
    gap:8px;
    padding:20px 0;
  }
  .questions p {
    font-size:20px;
  }
  .stat-shift {
    font-size:var(--title);
  }
  .wordmark {
    font-size:var(--display);
  }
  .bleed-plate {
    height:52svh;
  }
  .bleed-title {
    font-size:20px;
    margin-top:-.5em;
  }
  .lead-strong {
    font-size:var(--body);
  }
  .split-aside .display-num {
    font-size:var(--display);
  }
  .t-rows li {
    grid-template-columns:1fr;
    gap:8px;
    padding:24px 0;
  }
  .t-name {
    font-size:var(--title);
  }
  .partner-grid {
    grid-template-columns:repeat(5,1fr);
  }
  /* Mobile list: horizontal swipe, next card partly visible. */
  .guide-personas {
    display:flex;
    gap:16px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    margin:0 calc(var(--gutter)*-1);
    padding:0 var(--gutter) 8px;
    scroll-padding:0 var(--gutter);
    scrollbar-width:none;
  }
  .guide-persona {
    flex:0 0 min(300px,calc(100vw - 80px));
    scroll-snap-align:start;
  }
  .plans {
    grid-template-columns:1fr;
    gap:48px;
  }
  .plan-ask,
  .plan-include {
    min-height:0;
  }
  .sim-budgets {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .sim-budgets button:nth-child(3) {
    border-left:0;
  }
  .sim-budgets button:nth-child(n+3) {
    border-top:1px solid var(--ink);
  }
  .sim-row {
    grid-template-columns:1fr auto;
    gap:12px;
  }
  .sim-bar {
    grid-column:1/-1;
    grid-row:2;
    height:12px;
  }
  .sim-value b {
    font-size:20px;
  }
  .sim-table-wrap {
    display:none;
  }
}

/* Process uses the same title, body, rule, and neutral surface system as the guide. */
#process { display:grid; align-content:center; }
#process .lanes { display:grid; gap:8px; }
#process .lane { --line-active:0; position:relative; display:grid; grid-template-columns:160px repeat(3,minmax(0,1fr)); gap:12px; }
#process .lane-system, #process .lane-user { --line-active:1; }
#process .lane::before { content:''; position:absolute; z-index:1; top:0; left:172px; right:0; height:2px; background:var(--accent); opacity:var(--line-active); pointer-events:none; }
#process .lane-name { margin:0; padding:16px 12px 0 0; font-size:14px; font-weight:400; line-height:1.4; }
#process .lane-name b { font:inherit; }
#process .lane-cell { position:relative; min-width:0; min-height:88px; padding:14px 16px; border-top:1px solid var(--rule); background:transparent; }
#process .lane-cell h3 { display:flex; align-items:baseline; gap:6px; margin:0 0 6px; font-size:20px; font-weight:400; line-height:1.35; }
#process .lane-cell p { margin:0; color:var(--muted); font-size:16px; font-weight:300; line-height:1.4; word-break:keep-all; }
#process .process-number { color:var(--muted); font-size:12px; font-weight:300; }
#process .lane-criteria .lane-cell { background:#f5f5f5; border-top-color:#ddd; }
#process .lane:not(.lane-criteria) .lane-cell:not(:last-child)::after { content:'→'; position:absolute; right:-13px; top:18px; z-index:1; color:var(--muted); font-size:14px; }
#process .process-bridge { margin:0 0 0 172px; padding:2px 16px; color:var(--muted); font-size:12px; line-height:1.4; }
#process .process-bridge span { margin-right:8px; }
.story main .sim-bar { height:2px; }
.story main .sim-row.is-recommended .sim-bar i { background:var(--ink); box-shadow:none; }
@media(max-width:760px) {
  #process .lane { grid-template-columns:1fr; gap:0; }
  #process .lane::before { left:0; }
  #process .lane-name { padding:16px 0 10px; }
  #process .lane-cell { min-height:0; padding:14px 0 18px; }
  #process .lane-criteria .lane-cell { padding-inline:16px; }
  #process .lane:not(.lane-criteria) .lane-cell:not(:last-child)::after { content:'↓'; right:0; top:auto; bottom:-9px; }
  #process .process-bridge { margin:0; padding:12px 0; }
}

/* Shared rows keep the three comparisons aligned even when one note wraps. */
@media(min-width:761px) {
  #search .stat-grid { grid-template-rows:repeat(6,auto); gap:16px 24px; }
  #search .stat { display:grid; grid-row:span 6; grid-template-rows:subgrid; gap:16px; }
}
#search .stat-note p { margin:0; }
.story main .closing-title { max-width:none; width:100%; font-size:20px; }
.story main .closing-title span { display:inline; }
/* Service guide editorial sequence — September 2026. */
.market-key { font-size:20px; font-weight:400; }
.market-references { list-style:none; padding:0; margin:0; }
.market-references li { padding:20px 0; border-top:1px solid var(--rule); }
.market-references a { color:var(--ink); text-decoration:none; font-size:16px; line-height:1.7; }
.market-references a:hover { text-decoration:underline; text-underline-offset:4px; }
.solution-eyebrow { position:relative; font-size:12px; margin-bottom:16px; }
.story main #solution .bleed-copy p { font-size:16px; }
#solution .flow { margin-top:48px; }
.strategy-card { flex:0 0 min(720px,78vw); min-height:420px; position:relative; list-style:none; overflow:hidden; display:flex; align-items:flex-end; background:#f1f1f1; }
.strategy-image { position:absolute; inset:0; background:linear-gradient(135deg,#f4f4f4,#e8e8e8); }
.strategy-overlay { position:relative; padding:32px; display:grid; gap:12px; }
.story main .strategy-overlay h3 { font-size:40px; }
.strategy-overlay p { max-width:36ch; }
.strategy-track .htrack-list { padding:0; margin:0; }
.story main #quantity .scale { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.story main #quantity .scale article { grid-column:auto; min-width:0; padding-top:24px; border-top:1px solid var(--rule); }
.story main #quantity :is(.display-num,.stat-num) { font-size:clamp(24px,2.4vw,36px); letter-spacing:-.025em; line-height:1.3; white-space:nowrap; }
.story main .guide-persona a { border-top:1px solid #ddd; border-bottom:1px solid #ddd; background:#fff; color:var(--ink); }
.story main .guide-persona a:hover, .story main .guide-persona a:focus-visible { background:#CDFB49; border-color:#999; }
.story main .guide-persona a:hover :is(.guide-persona-dept,.guide-persona-top span:first-child) { color:var(--muted); }
.plan-budget-table { margin-top:48px; overflow:auto; }
.plan-budget-table table { table-layout:fixed; width:100%; }
.plan-budget-table :is(th,td) { width:20%; }
@media(max-width:760px) {
 .strategy-card { flex-basis:82vw; min-height:380px; scroll-snap-align:start; }
 .strategy-overlay { padding:24px; }
 .story main .strategy-overlay h3 { font-size:32px; }
 .story main #quantity .scale { grid-template-columns:1fr; }
 .story main #quantity :is(.display-num,.stat-num) { font-size:32px; }
 .plan-budget-table table { min-width:680px; }
}
.hero-word-mask { display:inline-block; overflow:hidden; vertical-align:bottom; }
.hero-word { display:inline-block; }

/* Evidence excerpts share the guide body scale; sources remain secondary. */
.market-references blockquote { margin:0 0 12px; font-size:16px; font-weight:400; line-height:1.7; color:var(--ink); }
.market-references blockquote p { margin:0; }
.market-references .market-context { margin:0 0 12px; font-size:16px; font-weight:300; line-height:1.7; }
.market-references a { font-size:14px; }

/* Section messaging: one title scale and one continuous supporting-copy column. */
.story main > section:not(.story-hero) .section-head { max-width:none; width:100%; gap:16px; }
.story main > section:not(.story-hero) h2 { font-size:28px; font-weight:400; line-height:1.4; letter-spacing:-.025em; }
.story main > section:not(.story-hero) .section-head :is(.lead,.market-key) { max-width:none; font-size:16px; font-weight:300; line-height:1.7; margin:0; text-wrap:wrap; }
.story main #solution { display:block; }
.story main #solution .solution-head { margin-top:32px; }
.story main #solution .bleed-title { margin:0; }
.story main #solution .bleed-copy { padding:0; gap:16px; }
.story main #solution .bleed-copy p { font-size:16px; line-height:1.7; }
.story main #solution .solution-eyebrow { margin:0; }
@media(max-width:760px) { .story main > section:not(.story-hero) h2 { font-size:24px; } }

/* Keep horizontal motion clipped to its own viewport, including while pinned. */
.strategy-track { overflow:hidden; isolation:isolate; }

/* Guide reading system: body 16, subtitle 20, key 28, eyebrow 12. */
.story main { --guide-line:1.5; }
.story main > .story-section { min-height:100svh; padding-block:48px; }
.story main > section:not(.story-hero) { line-height:var(--guide-line); }
.story main > section:not(.story-hero) .section-head { gap:12px; margin-bottom:24px; }
.story main > section:not(.story-hero) h2 { font-size:28px; line-height:1.3; font-weight:400; }
.story main > section:not(.story-hero) h3 { font-size:20px; line-height:1.35; font-weight:400; }
.story main > section:not(.story-hero) :is(p,.lead,.lead-strong,.market-context,blockquote) { line-height:1.5; }
.story main > section:not(.story-hero) .section-head :is(.lead,.market-key),
.story main #solution .bleed-copy p { font-size:16px; line-height:1.5; }
.story main > section:not(.story-hero) .section-head .market-key { font-size:20px; font-weight:400; line-height:1.4; }
.story main > section:not(.story-hero) :is(.caption,.solution-eyebrow,.section-tag,.source) { font-size:12px; line-height:1.4; letter-spacing:.045em; color:var(--muted); }
.story main #search { display:grid; grid-template-columns:minmax(220px,1fr) minmax(0,2.4fr); gap:24px; align-content:center; align-items:start; }
.story main #search .section-head { margin:0; }
.market-references { display:grid; grid-template-columns:1fr; gap:12px; }
.market-references li { padding:20px 24px; border:0; background:#f5f5f5; min-width:0; }
.market-references blockquote { font-size:16px; line-height:1.5; margin-bottom:16px; }
.market-references .market-context { font-size:14px; line-height:1.5; }
.market-references a { font-size:12px; line-height:1.4; overflow-wrap:anywhere; }
.story main #solution .bleed-copy { gap:12px; }
.story main #solution .bleed-plate { height:clamp(200px,30svh,360px); }
.story main #solution .flow { margin-top:24px; }
.story main .strategy-overlay { gap:8px; padding:24px; }
.story main .strategy-overlay p { font-size:16px; line-height:1.5; }
.story main .strategy-overlay .caption { font-size:12px; }
.story main #quantity .scale { gap:16px; }
.digit-slot { display:inline-block; height:1em; overflow:hidden; vertical-align:-.08em; width:.62em; line-height:1; }
.digit-reel { display:block; will-change:transform; }
.digit-reel > span { display:block; height:1em; line-height:1; text-align:center; }
.story main #quantity :is(.display-num,.stat-num) { font-variant-numeric:tabular-nums; }
@media(max-width:1023px) {
 .story main #search { grid-template-columns:1fr; gap:24px; }
}
@media(max-width:760px) {
 .story main > .story-section { padding-block:32px; }
 .story main > section:not(.story-hero) h2 { font-size:24px; }
}
.market-references a { display:block; }

/* Title and cards share the same pin, keeping the strategy context in view. */
.strategy-stage { position:relative; }
.story main > section:not(.story-hero) .section-head { gap:6px; }
.story main > section:not(.story-hero) .section-head h2 { line-height:1.2; }
.story main > section:not(.story-hero) .section-head :is(.lead,.market-key),
.story main #solution .bleed-copy p { line-height:1.4; margin:0; }
.story main #solution .bleed-copy { gap:6px; }
.story main #quantity .scale { align-items:stretch; }
.story main #quantity .scale article { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; min-height:220px; gap:12px; padding:24px 12px; }
.story main #quantity .scale article > * { margin:0; }
.story main #quantity .scale article h3 { min-height:2.7em; display:flex; align-items:center; justify-content:center; }

/* Compact guide cards borrow the main visual language without scaling the main component. */
.story main .guide-personas { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.guide-card { height:100%; min-height:320px; padding:20px; display:flex; flex-direction:column; justify-content:space-between; gap:32px; background:#f2f2f2; border-block:1px solid #ddd; }

.guide-card > small { font-size:12px; font-weight:300; }
.guide-card-copy { display:flex; flex-direction:column; gap:10px; }
.story main #personas-guide .guide-card h3 { font-size:32px; line-height:1; letter-spacing:-.04em; }
.story main .guide-card p { margin:0; font-size:14px; line-height:1.4; }
.story main .guide-card .guide-card-detail { font-size:12px; min-height:3.9em; color:#555; }
.guide-card .button { width:100%; min-height:44px; padding:12px; font-size:12px; gap:12px; margin-top:6px; }
.story main #quantity { background:#f3f3f3; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; }
.story main #quantity .section-head { align-items:center; }
.story main #quantity .scale { width:100%; }
@media(min-width:1024px) {
 .story main #search { grid-template-columns:repeat(2,minmax(0,1fr)); align-items:center; }
}
@media(min-width:761px) and (max-width:1023px) {
 .story main .guide-personas { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:760px) {
 .story main .guide-personas { display:flex; overflow-x:auto; gap:16px; scroll-snap-type:x mandatory; }
 .story main .guide-persona { flex:0 0 min(280px,82vw); scroll-snap-align:start; }
 .guide-card { min-height:320px; }
}

.plan-budget-table + .source { margin-top:20px; }

.plan-radius { fill:none; stroke:#414141; stroke-width:1; }
.plan-radius-active { fill:none; stroke:#CDFB49; stroke-width:2; }
.plan-hospital-dot { fill:#fff; }
.plan-map-rings text { fill:#aaa; font-size:12px; font-family:inherit; }
.plan-map-level { font-size:12px; color:#aaa; }
.story main #plans .plan-map-name { color:#fff; font-size:20px; line-height:1.3; }
.story main #plans .plan-map-description { margin:0; font-size:14px; color:#bbb; line-height:1.4; }
.story main #plans .plan-map-price { margin:0; color:#fff; }
.plan-map-price > span { font-size:12px; color:#aaa; margin-right:8px; }
.plan-map-price strong { font-size:24px; font-weight:400; }
.plan-map-note span { display:block; }

/* Keep each section's title and body together at the center of its viewport. */
.story main #solution {
 display:flex;
 flex-direction:column;
 justify-content:center;
 gap:clamp(20px,3svh,36px);
 padding-block:clamp(48px,6svh,80px);
}
.story main #solution .solution-head,
.story main #solution .flow { margin-block:0; }
.story main #solution .bleed-plate { flex:none; }
.story main #quality { padding-block:clamp(48px,6svh,80px); }
.story main #quality .strategy-stage {
 --stage-pad:clamp(48px,6svh,80px);
 min-height:calc(100svh - var(--stage-pad) - var(--stage-pad));
 display:flex;
 flex-direction:column;
 justify-content:center;
 gap:clamp(24px,4svh,40px);
}
.story main #quality .section-head { margin:0; }

/* Full-section map story: vertical scroll drives horizontal plans and concentric reach. */
.story main #plans { display:block; padding:0; background:#000; color:#fff; }
.plan-stage { min-height:640px; height:100svh; position:relative; isolation:isolate; overflow:hidden; background:#000; }
.story main #plans .plan-stage > .section-head { position:absolute; z-index:2; left:32px; top:50%; transform:translateY(-50%); width:24%; margin:0; color:#fff; }
.story main #plans .section-head .lead { color:#aaa; }
.plan-stage .plan-map { position:absolute; inset:0; min-height:0; height:100%; background:#000; color:#fff; overflow:hidden; isolation:isolate; }
.plan-stage .plan-map-rings { position:absolute; z-index:0; width:75%; height:100%; left:25%; top:0; margin:0; }
.plan-story-window { position:absolute; z-index:1; left:60%; top:50%; transform:translateY(-50%); width:36%; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; }
.plan-story-window::-webkit-scrollbar { display:none; }
.plan-story-track { display:flex; width:100%; }
.plan-story-slide { flex:0 0 100%; min-width:0; padding:16px; display:flex; flex-direction:column; gap:10px; background:transparent; scroll-snap-align:start; }
.plan-story-window.is-scroll-driven { overflow:hidden; scroll-snap-type:none; }
.story main #plans .plan-map-note { position:absolute; z-index:1; bottom:32px; right:32px; width:48%; margin:0; color:#999; font-size:12px; text-align:right; line-height:1.5; }
.story main #budget, .story main > .next-page { min-height:0; height:auto; }
.story main #budget .sim-table tr > :first-child { background:#f5f5f5; }
.story main #budget .plan-budget-table { margin-top:24px; }
.story main #budget { padding-bottom:112px; }
@media(max-width:760px) { .story main #budget { padding-bottom:152px; } }
/* Full-bleed backgrounds with a transparent index above the reserved reading margin. */
@media(min-width:1024px) {
 body[data-page=service-guide] main #plans { padding:0; }
 body[data-page=service-guide] #plans .plan-stage > .section-head { left:calc(184px + var(--gutter)); width:22%; }
 body[data-page=service-guide] .plan-stage .plan-map-rings { left:30%; width:70%; }
}
@media(max-width:760px) {
 .plan-stage { min-height:760px; }
 .story main #plans .plan-stage > .section-head { top:32px; left:24px; width:calc(100% - 48px); transform:none; }
 .plan-stage .plan-map-rings { left:0; top:140px; width:100%; height:65%; }
 .plan-story-window { left:45%; width:52%; }
 .plan-story-slide { padding:12px; }
 .story main #plans .plan-map-note { width:calc(100% - 48px); right:24px; bottom:24px; }
}
