/* Customer story pages (AXU-180). The page uses the shared marketing sections
   (page-intro, solution-detail, customer-story, customer-proof, small-cta).
   This file adds only the parts that no shared section has: the result
   figures, the source note, the pull quotes and the before/after lists. */

.story-results {
  padding-block:24px 72px;
}
.story-results .three-columns article p:not(.story-figure) {
  font-size:16px;
  max-width:280px;
}
.brand-v2 .story-figure {
  font-size:clamp(48px,5.4vw,72px);
  font-weight:600;
  line-height:1;
  letter-spacing:-.03em;
  color:var(--green);
  font-variant-numeric:tabular-nums;
  margin-bottom:14px;
}
.brand-v2 .story-source {
  font-size:14px;
  color:var(--muted);
  max-width:760px;
  margin-top:44px;
  padding-top:18px;
  border-top:1px solid var(--hairline);
}

/* A pull quote inside a detail list. The green edge marks it as the
   customer's own words, apart from our text. */
.story-pull {
  margin:0;
  padding-left:24px;
  border-left:2px solid var(--green);
}
.story-pull blockquote {
  margin:0 0 14px;
  font-size:clamp(21px,2vw,26px);
  line-height:1.35;
  letter-spacing:-.015em;
  color:var(--ink);
}

.story-list {
  list-style:none;
  margin:14px 0 0;
  padding:0;
}
.story-list li {
  display:grid;
  grid-template-columns:84px 1fr;
  gap:14px;
  padding:12px 0;
  border-top:1px solid var(--hairline);
  font-size:16px;
  line-height:1.5;
  color:var(--ink-body);
}
.story-list li strong {
  font-weight:500;
  font-size:14px;
  color:var(--ink);
}

/* The closing quote is longer than the landing-page testimonial. */
.story-close blockquote {
  font-size:clamp(23px,2.4vw,31px);
  line-height:1.3;
}

/* On a phone, marketing.css stacks .three-columns and draws the rules
   between the figures. */
@media(max-width:760px) {
  .story-results {
    padding-block:8px 48px;
  }
  .story-list li {
    grid-template-columns:80px 1fr;
  }
}

/* AXU-180: customer story cover, avatars and workflow. */
.story-symbols { position:absolute; overflow:hidden; }
.page-intro.story-intro { padding-block:64px 40px; }
.page-intro.story-intro h1 { font-size:clamp(38px,4.8vw,64px); line-height:1.08; max-width:960px; letter-spacing:-.035em; }
.page-intro.story-intro .lede { max-width:750px; margin-top:24px; }
.story-cover { padding-bottom:44px; }
.story-cover figure { margin:0; position:relative; }
.story-cover img { display:block; width:100%; height:auto; border-radius:4px; }
.story-cover figcaption { margin-top:12px; font-size:13px; color:var(--muted); }
.story-agent { display:inline-flex; align-items:center; gap:10px; color:var(--ink); font-size:14px; font-weight:500; line-height:1.25; }
.story-avatar {
  flex:none;
  position:relative;
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:50%;
  border:1px solid rgba(71,133,101,.3);
  background:radial-gradient(circle at 28% 18%,rgba(255,255,255,.9),transparent 58%),linear-gradient(145deg,rgba(187,224,199,.55),rgba(76,147,109,.18));
  box-shadow:inset 0 1px 2px rgba(255,255,255,.95),inset 0 -2px 5px rgba(48,111,77,.13),0 3px 10px rgba(47,107,74,.1);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
}
.story-avatar::before {
  content:"";
  position:absolute;
  inset:3px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.5);
  pointer-events:none;
}
.story-agent .story-avatar img { position:relative; display:block; width:48px; height:48px; object-fit:contain; aspect-ratio:1; border-radius:0; }
.story-results > .eyebrow { margin-bottom:26px; }
.story-metric-label { display:block; font-size:13px; color:var(--muted); margin-bottom:18px; }
.story-results .three-columns article p:not(.story-figure) { max-width:290px; }
.story-workflow, .story-comparison { border-top:1px solid var(--hairline); padding-block:72px; }
.story-section-heading { display:flex; align-items:center; justify-content:space-between; gap:28px; }
.story-workflow-intro { max-width:720px; margin:24px 0 36px; }
.story-flow { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0; padding:0; margin:0; list-style:none; }
.story-flow > li { position:relative; padding:24px 20px; border:1px solid var(--hairline); border-right:0; background:#f3f1eb; }
.story-flow > li:last-child { border-right:1px solid var(--hairline); }
.story-flow > li:nth-child(4) { background:#e9eee8; }
.story-flow h3 { font-size:18px; margin:12px 0; }
.story-flow p { font-size:15px; line-height:1.55; margin:0; }
.story-step { display:block; margin-top:22px; font-size:11px; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--muted); }
.story-object { display:grid; place-items:center; width:48px; height:48px; border:1px solid #dbd8ce; border-radius:10px; background:linear-gradient(#fffefb,#e6e2d7); box-shadow:0 2px 2px #17221b0a; }
.story-object svg { fill:none; width:32px; height:32px; stroke:#344d3f; stroke-width:1.5; stroke-linejoin:round; stroke-linecap:round; }
.story-stage { display:inline-block; margin-bottom:12px; font-size:12px; font-weight:600; color:var(--green); }
.story-stage-future { color:var(--muted); }
.solution-detail > div > .story-agent { margin-bottom:24px; }
.story-comparison h2 { margin-bottom:36px; }
.story-compare-row { display:grid; grid-template-columns:1fr 1.4fr 1.4fr; gap:28px; padding:24px 0; border-top:1px solid var(--hairline); }
.story-compare-head { border:0; padding:0 0 16px; font-size:13px; color:var(--muted); }
.story-compare-list { margin:0; }
.story-compare-row dt { font-size:18px; font-weight:500; }
.story-compare-row dd { margin:0; font-size:16px; line-height:1.6; }
.story-compare-row dd:last-child { color:var(--green); }
.story-compare-row dd span { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media(max-width:1000px) and (min-width:761px) {
  .story-flow { grid-template-columns:1fr; }
  .story-flow > li { display:grid; grid-template-columns:56px 1fr; column-gap:20px; border-right:1px solid var(--hairline); border-bottom:0; }
  .story-flow > li:last-child { border-bottom:1px solid var(--hairline); }
  .story-flow > li > :first-child { grid-row:1 / 4; }
  .story-flow .story-step { margin-top:0; }
}
@media(max-width:760px) {
  .page-intro.story-intro h1 br { display:none; }
  .page-intro.story-intro { padding-block:44px 28px; }
  .story-cover { padding-bottom:32px; }
  .story-cover img { aspect-ratio:1.5; object-fit:cover; }
  .story-cover figcaption { font-size:12px; }
  .story-workflow, .story-comparison { padding-block:48px; }
  .story-section-heading { flex-direction:column; align-items:flex-start; gap:18px; }
  .story-flow { grid-template-columns:1fr; }
  .story-flow > li { display:grid; grid-template-columns:48px 1fr; gap:0 18px; padding:22px 18px; border-right:1px solid var(--hairline); border-bottom:0; }
  .story-flow > li:last-child { border-bottom:1px solid var(--hairline); }
  .story-flow > li > :first-child { grid-row:1 / 4; }
  .story-step { margin-top:0; }
  .story-flow h3 { margin-block:8px; }
  .story-compare-head { display:none; }
  .story-compare-row { grid-template-columns:1fr; gap:16px; }
  .story-compare-row dd span { position:static; width:auto; height:auto; clip-path:none; white-space:normal; display:block; font-size:12px; font-weight:600; margin-bottom:6px; }
}
