/* ==========================================================================
   Story page (story-phoenix-51.html), rebuilt 27 Nov 2026 (site review) in the Customer stories design:
   load after tokens.css, sections.css, motion.css, product-page.css and flow.css.
   1. Hero: back link, tags, headline and the two figures; Phoenix 51's logo on the supplied white
      pebble, over the supplied navy pebble (the customer logos on Customer stories sit on the same white pebble).
   2. 01 / The story: an open article with the quote as a speech bubble; "At a glance" as a ruled list beside it.
   3. 02 / More stories: navy with dust particles, three stories in open columns; runs straight into the close.
   4. Close: .book .p-close (flow.css).
   Pebbles: only the supplied files, turned not stretched. Nothing drawn.
   Reduced motion: everything shows in its finished state.
   ========================================================================== */

/* Secondary button on light sections: navy outline (as .btn-outline-dark, for light backgrounds) */
.st-page .btn-outline { background: transparent; color: var(--odro-navy); border: 2px solid var(--odro-navy); padding: 12px 24px; transition: background .2s ease; }
.st-page .btn-outline:hover { background: rgba(14, 32, 80, .06); color: var(--odro-navy); }

/* ---------- 1. Hero ---------- */
.st-hero { overflow: hidden; }
.st-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: var(--space-10) var(--space-12); align-items: center;
  padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 88px); }
.st-hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: var(--space-6); }
.st-back { align-self: flex-start; font-weight: 700; font-size: 15px; color: var(--odro-text-blue, #0069A8); text-decoration: none; }
.st-back:hover { color: var(--odro-navy); text-decoration: underline; text-underline-offset: 3px; }
.st-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.st-tags li { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; line-height: 1; border-radius: 999px; padding: 6px 12px; background: var(--odro-navy); color: #fff; }
.st-tags li + li { background: transparent; color: var(--odro-navy); box-shadow: inset 0 0 0 2px var(--odro-navy); }
.st-hero h1 { font-size: clamp(36px, 3.9vw, 54px); line-height: 1.06; letter-spacing: -0.03em; text-wrap: balance; }
.st-meta { margin: 0; font-size: 15px; font-weight: 600; color: var(--odro-text-blue, #0069A8); }
.st-figs { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 0; margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.st-figs li { display: flex; flex-direction: column; padding: 0 28px; }
.st-figs li:first-child { padding-left: 0; }
.st-figs li + li { border-left: 1px solid rgba(14, 32, 80, .14); }
.st-figs b { font: 700 clamp(36px, 3.4vw, 48px)/1 var(--font-display); letter-spacing: -0.02em; color: var(--odro-text-blue, #0069A8); }
.st-figs span { margin-top: 6px; font-weight: 600; }
.st-flag { align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; border-radius: 999px; padding: 3px 10px; background: #ECF6FD; color: var(--odro-text-blue, #0069A8); }
.st-visual { position: relative; width: 100%; max-width: 520px; aspect-ratio: 791 / 623; justify-self: center; }
.st-peb-navy { position: absolute; inset: 0; width: 100%; height: auto; transform: rotate(-8deg); filter: drop-shadow(0 30px 60px rgba(14, 32, 80, .18)); }
.st-mat { position: absolute; left: 50%; top: 50%; width: 60%; transform: translate(-50%, -50%) rotate(7deg); }
.st-mat .st-peb-white { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(14, 32, 80, .28)); }
.st-mat .st-logo { position: absolute; left: 50%; top: 50%; width: 64%; height: auto; transform: translate(-50%, -50%) rotate(-7deg); }
.anim-ready .st-hero .st-mat { opacity: 0; transform: translate(-50%, -42%) rotate(0deg); }
.anim-ready .st-hero.in .st-mat { opacity: 1; transform: translate(-50%, -50%) rotate(7deg); transition: opacity .5s ease .25s, transform .8s var(--spring) .25s; }
@media (max-width: 900px) { .st-hero .wrap { grid-template-columns: minmax(0, 1fr); } .st-visual { max-width: 380px; } }

/* ---------- 2. 01 / The story ---------- */
.st-body .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); gap: var(--space-8) 72px; align-items: start; }
.st-body .label { grid-column: 1 / -1; }
.st-article { max-width: 700px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; line-height: 1.65; }
.st-article h2 { margin: 18px 0 0; font: 700 clamp(24px, 2.2vw, 30px)/1.2 var(--font-display); letter-spacing: -0.015em; }
.st-article h2:first-of-type { margin-top: 0; }
.st-article p { margin: 0; }
.st-draft { border: 2px dashed #479CD0; border-radius: 12px; padding: 10px 14px; font-size: 14px !important; line-height: 1.5; font-weight: 600; color: var(--odro-text-blue, #0069A8); }
.st-todo { color: var(--odro-text-blue, #0069A8); font-weight: 600; }
.st-quote { margin: 20px 0 14px; display: flex; flex-direction: column; gap: 24px; }
.st-quote blockquote { position: relative; margin: 0; padding: 26px 30px 28px; border-radius: 26px; background: #007BC4; color: #fff;
  font: 600 clamp(21px, 2vw, 25px)/1.38 var(--font-display); box-shadow: 0 22px 44px rgba(14, 32, 80, .18); }
.st-quote blockquote::after { content: ""; position: absolute; left: 44px; top: calc(100% - 2px); width: 34px; height: 24px; background: #007BC4; clip-path: polygon(0 0, 100% 0, 0 100%); }
.st-quote figcaption { display: flex; align-items: center; gap: 14px; padding-left: 8px; font-size: 16px; line-height: 1.35; }
.st-quote figcaption img { width: 58px; height: 58px; border-radius: 50%; border: 3px solid #007BC4; flex: none; }
.st-quote figcaption strong { display: block; }
.st-quote figcaption span { font-size: 15px; font-weight: 600; color: var(--odro-text-blue, #0069A8); }
.st-aside { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 14px; }
.st-aside h2 { margin: 0 0 6px; font: 700 20px/1.2 var(--font-display); }
.st-glance { margin: 0 0 10px; }
.st-glance div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(14, 32, 80, .12); }
.st-glance div:last-child { border-bottom: 1px solid rgba(14, 32, 80, .12); }
.st-glance dt { font-size: 12px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; color: var(--odro-text-blue, #0069A8); }
.st-glance dd { margin: 0; font-weight: 700; text-align: right; }
.st-aside .btn { justify-content: center; text-align: center; }
@media (max-width: 900px) { .st-body .wrap { grid-template-columns: minmax(0, 1fr); } .st-aside { position: static; max-width: 520px; } }

/* ---------- 3. 02 / More stories (navy, dust particles) ---------- */
.st-more { isolation: isolate; overflow: hidden; }
.st-more .bokeh { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.st-more .wrap { gap: var(--space-9); }
.st-more h2 { font-size: var(--text-h2); line-height: var(--leading-heading); letter-spacing: -0.025em; }
.st-more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 0; }
.st-more-list li { display: flex; flex-direction: column; gap: 10px; padding: 0 32px; color: #fff; }
.st-more-list li:first-child { padding-left: 0; }
.st-more-list li + li { border-left: 1px solid rgba(148, 206, 242, .28); }
.st-more-tag { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; color: var(--color-soft-on-dark, #94CEF2); }
.st-more-fig { font: 700 clamp(30px, 2.8vw, 38px)/1.05 var(--font-display); color: var(--odro-gold); }
.st-more-line { margin-top: -4px; font-weight: 600; color: #fff; }
.st-more-title { font: 700 20px/1.3 var(--font-display); color: #fff; }
@media (max-width: 900px) {
  .st-more-list { grid-template-columns: minmax(0, 1fr); }
  .st-more-list li { padding: 0; }
  .st-more-list li + li { border-left: 0; border-top: 1px solid rgba(148, 206, 242, .28); padding-top: 28px; }
}
/* 02 runs straight into the close, so it keeps only its top wave (as customer-stories.css .cs-results) */
.v-page > .section.dark.st-more { margin-bottom: 0; padding-bottom: 90px; background: linear-gradient(180deg, #0B4A86 0px, #0E2050 150px, #0E2050 100%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V58C240 8 520 0 760 30S1220 88 1440 34V90Z'/%3E%3C/svg%3E") top / 100% 90px no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - 89px) no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V58C240 8 520 0 760 30S1220 88 1440 34V90Z'/%3E%3C/svg%3E") top / 100% 90px no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - 89px) no-repeat; }

@media (prefers-reduced-motion: reduce) { .anim-ready .st-hero .st-mat { opacity: 1; transform: translate(-50%, -50%) rotate(7deg); transition: none; } }
