/* Success Story / funded-transaction detail (Step 3D-B art direction, Sep 2026). Scope: .ss
   One dominant idea: THE PROPERTY + THE TRANSACTION. Asymmetric editorial hero (copy 1-6, photograph
   7-12 sitting higher and running lower), an open facts band as evidence, a single numbered story
   column, a quiet continuation of more funded transactions. Loaded page-scoped after styles.css.
   Supports both content depths: the current profile (Where / The structure / The result) and the
   future full story (Situation / Difficulty / What Alliance Portfolio saw / Structure / Result). */
.ss-wrap{max-width:1320px;margin:0 auto;padding:0 32px}
.ss-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:0 24px}

/* --- hero --- */
/* overflow-x clip only: the offset panel runs 28px past the right edge (no horizontal scroll), while the
   photograph's 56px overhang into the facts band must stay visible on the y axis. The hero sits above
   the following white band so the overhang paints over it. */
.ss-hero{background:var(--brand-paper);padding:64px 0 0;overflow-x:clip;overflow-y:visible;position:relative;z-index:1}
.ss-hero__g{align-items:start}
.ss-hero__copy{grid-column:1 / span 6;padding:36px 0 56px}
/* align-self:end anchors the photograph to the row's bottom edge, so the 56px overhang (40px net of the
   16px lift) holds whatever the copy height; the copy column still sets the row when it is taller. */
.ss-hero__fig{grid-column:7 / span 6;margin:0 0 -56px;position:relative;isolation:isolate;transform:translateY(-16px);align-self:end}
.ss-hero__fig::before{content:"";position:absolute;inset:28px -28px -28px 44px;background:rgba(145,195,235,.30);border-radius:6px;z-index:-1}
.ss-hero__fig img{width:100%;aspect-ratio:5 / 4;height:auto;object-fit:cover;border-radius:6px;display:block;box-shadow:0 18px 50px rgba(0,43,84,.10)}
.ss-rule{width:48px;height:2px;background:var(--brand-accent);border:0;margin:0 0 14px}
.ss-eyebrow{font-family:var(--font-sans);font-weight:700;font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--text-eyebrow);margin:0}
.ss-h1{font-family:var(--font-display);font-weight:500;font-size:48px;line-height:1.04;letter-spacing:-.024em;color:var(--brand-navy);margin:16px 0 0;max-width:16ch;text-wrap:balance}
.ss-sub{font-family:var(--font-sans);font-size:18px;line-height:1.6;color:var(--text-secondary);margin:22px 0 0;max-width:40ch;text-wrap:pretty}
.ss-hero__meta{font-family:var(--font-sans);font-size:12px;font-weight:600;letter-spacing:.04em;color:var(--text-muted);margin:28px 0 0}

/* --- facts band: an editorial data row, not a component --- */
.ss-facts{background:var(--white);padding:96px 0 0}
.ss-facts__in{grid-column:1 / span 12;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0 24px;border-top:2px solid var(--brand-navy);padding-top:22px}
.ss-fact{padding:0 0 22px}
.ss-fact__l{font-family:var(--font-sans);font-weight:700;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--text-muted);margin:0}
.ss-fact__v{font-family:var(--font-display);font-weight:500;font-size:32px;line-height:1.05;letter-spacing:-.02em;color:var(--brand-navy);margin:10px 0 0;font-variant-numeric:tabular-nums;text-wrap:balance}
.ss-fact--text .ss-fact__v{font-size:24px;line-height:1.2;padding-top:4px}

/* --- story column: numbered editorial sections --- */
.ss-read{padding:64px 0 24px}
.ss-story{grid-column:2 / span 8;list-style:none;margin:0;padding:0}
.ss-story>li{display:grid;grid-template-columns:72px minmax(0,1fr);gap:0 24px;padding:34px 0 38px;border-top:1px solid var(--line)}
.ss-story>li:first-child{border-top:0;padding-top:0}
.ss-sec__n{font-family:var(--font-display);font-weight:500;font-size:20px;line-height:1;color:var(--text-numeral);padding-top:6px}
.ss-sec__l{font-family:var(--font-sans);font-weight:700;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--sky-800);margin:0}
.ss-sec__b{font-family:var(--font-display);font-weight:400;font-size:26px;line-height:1.35;letter-spacing:-.01em;color:var(--brand-navy);margin:12px 0 0;max-width:30ch;text-wrap:pretty}
.ss-sec--long .ss-sec__b{font-family:var(--font-sans);font-size:18.5px;line-height:1.7;color:var(--text-primary);max-width:60ch}
.ss-story>li.ss-sec--result{border-top:2px solid var(--brand-accent)}

/* --- continuation: more funded transactions --- */
.ss-rel{border-top:1px solid var(--line);padding:56px 0 88px;margin-top:40px}
.ss-rel__head{grid-column:1 / -1;display:flex;justify-content:space-between;align-items:baseline;gap:24px;flex-wrap:wrap;margin-bottom:28px}
.ss-rel__head h2{font-family:var(--font-display);font-weight:500;font-size:26px;letter-spacing:-.015em;color:var(--brand-navy);margin:0}
.ss-rel__all{font-family:var(--font-sans);font-size:13px;font-weight:600;letter-spacing:.04em;color:var(--brand-navy);text-decoration:none}
.ss-rel__all:hover{color:var(--sun-700)}
.ss-rel__cards{grid-column:1 / -1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.ss-rc{text-decoration:none;display:block;color:inherit}
.ss-rc__ph{width:100%;height:auto;aspect-ratio:3 / 2;border-radius:6px;object-fit:cover;display:block;background:var(--brand-fog)}
.ss-rc__t{font-family:var(--font-sans);font-weight:700;font-size:10.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--text-eyebrow);margin:16px 0 0}
.ss-rc__h{font-family:var(--font-display);font-weight:500;font-size:21px;line-height:1.22;letter-spacing:-.012em;color:var(--brand-navy);margin:8px 0 0;text-wrap:pretty}
.ss-rc__a{display:inline-block;font-family:var(--font-sans);font-size:13px;font-weight:600;letter-spacing:.06em;color:var(--brand-navy);margin:12px 0 0}
.ss-rc:hover .ss-rc__h,.ss-rc:hover .ss-rc__a{color:var(--sun-700)}
.ss-rc:focus-visible{outline:2px solid var(--brand-accent);outline-offset:4px}

@container page (max-width:1180px){
  .ss-h1{font-size:44px}
  .ss-facts__in{grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px}
  .ss-fact{padding-bottom:26px}
}
@container page (max-width:900px){
  .ss-wrap{padding:0 20px}
  .ss-hero{padding:40px 0 0}
  .ss-hero__copy{grid-column:1 / -1;padding:0 0 28px}
  .ss-hero__fig{grid-column:1 / -1;transform:none;margin:0 0 -40px;align-self:auto}
  .ss-hero__fig::before{inset:20px -20px -20px 28px}
  .ss-hero__fig img{aspect-ratio:3 / 2}
  .ss-h1{font-size:38px;max-width:none}
  .ss-sub{max-width:none}
  .ss-facts{padding-top:80px}
  .ss-facts__in{grid-template-columns:1fr 1fr;gap:0 20px}
  .ss-fact__v{font-size:28px}
  .ss-read{padding:48px 0 16px}
  .ss-story{grid-column:1 / -1}
  .ss-story>li{grid-template-columns:48px minmax(0,1fr);gap:0 16px;padding:28px 0 30px}
  .ss-sec__b{font-size:23px}
  .ss-rel{padding:44px 0 72px;margin-top:24px}
  .ss-rel__cards{grid-template-columns:1fr;gap:32px}
}
@container page (max-width:560px){
  .ss-h1{font-size:32px}
  .ss-fact__v{font-size:26px}
  .ss-fact--text .ss-fact__v{font-size:20px}
  .ss-sec__b{font-size:21px}
  .ss-story>li{grid-template-columns:1fr;gap:8px 0}
  .ss-sec__n{padding-top:0}
}
