/* =================================================================
   Stockholding & fulfilment V2. Loaded only on the review route
   (inc/review.php). Existing tokens only: no new colours, fonts or
   sizes. Orange on text, buttons and rules only.
   Dark sections use --navy-2, grey bands use --bg-grey, hairlines --line.
   ================================================================= */

/* ---------- shared bits ---------- */
.sf-dark { background: var(--navy-2); color: #fff; }
.sf-dark h2, .sf-dark h3 { color: #fff; }
.sf-dark p { color: var(--body-light); }
.sf-dark .section-head h2 { color: #fff; }
.sf-dark .section-head p { color: var(--body-light); }
.sf-lede { font-size: var(--lead); line-height: 1.45; max-width: 64ch; margin-bottom: 1.5rem; }
.sf h2 { margin-bottom: 1.1rem; }
.sf h3 { font-size: var(--h4); font-weight: 700; color: var(--ink); }
.sf-h2-sm { font-size: var(--h3); }
.sf .split .copy p + p { margin-top: 1rem; }
.sf .split .copy a:not(.btn):not(.arrow-circle), .sf-define a, .sf .faq-answer a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: .15em; }
.sf-arrow-dark:not(:hover) { border-color: #000; color: #000; }
.sf-media picture, .sf-media img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.sf-after { margin-top: 1.75rem; font-size: var(--lead); max-width: 70ch; }
.sf-after strong { color: var(--ink); }
.sf-anchor { position: absolute; top: -100px; }
.sf-enquire { position: relative; }
.sf-todo-line { margin-top: 1rem; }
.sf-todo-line:empty { display: none; }

/* TODO markers: review route only (inc/review.php emits nothing elsewhere). Site tokens: lime on ink. */
.jsm-todo { display: inline-block; background: var(--lime); color: var(--ink); font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: .15rem .45rem; border-radius: 4px; vertical-align: middle; font-family: ui-monospace, Menlo, monospace; cursor: help; }
.sf-todo-why { font-size: .9rem; color: var(--body); opacity: .8; }
.sf-dark .sf-todo-why { color: var(--body-light); }
.sf-fig { background: rgba(246,105,47,.14); border-bottom: 2px solid var(--orange); padding: 0 .3rem; font-weight: 700; white-space: nowrap; }
.sf-hidden-note { max-width: 1180px; margin: 0 auto; padding: 1rem 1.25rem; border-left: 4px solid var(--lime); background: var(--bg-grey); font-size: .95rem; }
.sf-hidden-note a { color: var(--orange-dark); text-decoration: underline; }
.sf-hidden-note--dark { background: rgba(255,255,255,.06); color: #fff; }
.sf-hidden-note code { font-size: .85em; }

/* ---------- 1. hero: site centred hero; the H1 runs long so widen its measure ---------- */
.sf-hero h1 { max-width: 18ch; }
.sf-hero p { max-width: 60ch; }

/* ---------- rounded gradient panels, the site's way of breaking a page up
   (same assets as the landing page .lp-needs / .lp-book and the ROI cards) ---------- */
.sf-panel { border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 3.5rem); }
.sf-panel--beige { background: url("../assets/img/landing/beige-pink-grads-landscape-02.jpg") center / cover no-repeat; }
.sf-panel--blue { background: url("../assets/img/resources/blue-pink-grads-landscape-01.3.svg") center / cover no-repeat; }
.sf-panel--pink { background: url("../assets/img/case-studies/beige-pink-grads-landscape-03.svg") center / cover no-repeat; }
.sf-panel .section-head { margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.sf-panel .sf-step__img { background: #fff; }
.sf-panel .sf-card { box-shadow: var(--shadow-card); }
.sf-cta-centre { display: flex; justify-content: center; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.sf .split .copy .cta-row { margin-top: 2rem; }
.sf-feat + .cta-row { margin-top: 1.75rem; }
/* ---------- 2. definition: orange left rule ---------- */
.sf-define { margin-top: .25rem; }
.sf-define p { font-size: 1.05rem; }
.sf-define p { font-size: var(--lead); max-width: 72ch; }
.sf-define p + p { margin-top: 1rem; }

/* ---------- 4. comparison: two rounded cards, pale grey vs navy, in the site's card language ---------- */
.sf-vs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 2rem); max-width: 1180px; margin-inline: auto; }
.sf-vs > div { border-radius: var(--radius); padding: clamp(1.75rem, 3.5vw, 2.75rem); }
.sf-vs__a { background: var(--bg-grey); color: var(--body); }
.sf-vs__b { background: var(--navy-2); color: #fff; }
.sf-vs h3 { font-size: var(--h3); font-weight: 700; margin-bottom: 1.25rem; color: var(--ink); }
.sf-vs__b h3 { color: #fff; }
.sf-vs ul { margin: 0; }
.sf-vs li { position: relative; padding: .8rem 0 .8rem 1.9rem; border-top: 1px solid var(--line); font-size: 1.02rem; line-height: 1.35; }
.sf-vs__b li { border-top-color: rgba(255,255,255,.14); color: rgba(255,255,255,.9); }
.sf-vs li:first-child { border-top: 0; padding-top: 0; }
.sf-vs li:first-child::before { top: .55rem; }
.sf-vs li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 14px; height: 2px; background: var(--ink); opacity: .4; }
.sf-vs__b li::before { background: var(--orange); opacity: 1; }
.sf-vs .jsm-todo { margin-left: .4rem; }
@media (max-width: 900px) { .sf-vs { grid-template-columns: 1fr; } }
/* ---------- 5. steps: existing .feature-row extended with image + number ---------- */
.sf-steps { margin-top: 1rem; list-style: none; padding: 0; }
.sf-steps .sf-step { text-align: left; }
.sf-step__img { margin-bottom: 1rem; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg); }
.sf-step__img picture, .sf-step__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sf-step h3 { display: flex; align-items: center; gap: .6rem; font-size: var(--h4); margin-bottom: .5rem; }
.sf-step .bm-step-num { font-size: .8rem; letter-spacing: .06em; color: var(--orange-dark); font-weight: 800; }
.sf-step p { max-width: none; font-size: 1rem; line-height: 1.4; }
.sf-step p a { color: var(--orange-dark); text-decoration: underline; text-underline-offset: .15em; }

/* ---------- 7. two comparison cards with image ---------- */
.sf-compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.25rem, 2.5vw, 1.75rem); max-width: 1180px; margin-inline: auto; }
.sf-after { max-width: 1180px; margin-inline: auto; }
.sf-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.sf-card--accent { border-color: var(--orange); box-shadow: inset 0 0 0 1px var(--orange); }
.sf-card__img, .sf-card__img img { display: block; width: 100%; }
.sf-card__img img { height: 180px; object-fit: cover; border-bottom: 1px solid var(--line); }
.sf-card__body { padding: clamp(1.5rem, 3vw, 2rem); }
.sf-tag { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dark); margin-bottom: .75rem; }
.sf-card h3 { font-size: var(--h3); margin-bottom: .75rem; }
.sf-card p { font-size: 1rem; line-height: 1.45; }
.sf-card dl { margin-top: 1rem; font-size: .95rem; }
.sf-card dt { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--body); opacity: .6; margin-top: 1rem; }
.sf-card dd { margin: .25rem 0 0; line-height: 1.4; }
@media (max-width: 900px) { .sf-compare { grid-template-columns: 1fr; } }

/* ---------- 8. mid-page conversion band ---------- */
.sf-band { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: var(--radius-sm); padding: clamp(1.5rem, 3vw, 2.4rem); display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: center; }
.sf-band h3 { font-size: var(--h3); margin-bottom: .5rem; }
.sf-band p { font-size: 1rem; line-height: 1.45; }
.sf-band .cta-row { margin-top: 1.25rem; }
.sf-trust { display: flex; gap: 1.75rem; flex-wrap: wrap; font-size: .9rem; }
.sf-trust b { display: block; font-size: 1.6rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
@media (max-width: 900px) { .sf-band { grid-template-columns: 1fr; } }

/* ---------- 2x2 feature list (sections 9, 10, 11) ---------- */
.sf-feat { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; margin-top: 1.5rem; }
.sf-feat > div { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.sf-feat h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.sf-feat p { font-size: .95rem; line-height: 1.4; margin: 0; }
.sf-feat--dark > div { border-top-color: rgba(255,255,255,.16); }
.sf-feat--dark h3 { color: #fff; }
@media (max-width: 600px) { .sf-feat { grid-template-columns: 1fr; } }

/* ---------- 10. four-up stat band on dark ---------- */
.sf-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); margin: 2rem 0; }
.sf-stats li { padding: 1.75rem 1.5rem; border-left: 1px solid rgba(255,255,255,.16); }
.sf-stats li:first-child { border-left: 0; padding-left: 0; }
.sf-stats b { display: block; font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; }
.sf-stats span { display: block; margin-top: .5rem; font-size: .9rem; color: var(--body-light); }
.sf-dark .cta-row { margin-top: 2rem; }
.sf-dark .arrow-circle:not(:hover) { border-color: #fff; color: #fff; }
@media (max-width: 900px) {
  .sf-stats { grid-template-columns: 1fr 1fr; }
  .sf-stats li { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .sf-stats li:nth-child(-n+2) { border-top: 0; }
}

/* ---------- 12. case cards: site markup; the <picture> wrapper must not break the existing .product img rules ---------- */
.case-card .product picture { display: contents; }
.sf .case-card h3 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); }

/* ---------- 13. webshop promo: the site component; only the inline icon size is ours ---------- */
.webshop-promo .icon-item .sf-promo-ico { display: block; width: 33px; height: 33px; flex: none; }
.webshop-promo .icon-item .sf-promo-ico svg { width: 100%; height: 100%; }
@media (max-width: 600px) { .webshop-promo .icon-item .sf-promo-ico { width: 28px; height: 28px; } }

/* Keyboard focus visible on every control added by this page. */
.sf a:focus-visible, .sf .btn:focus-visible, .sf summary:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }


/* A Media Library image chosen in wp-admin for a stock card (no <picture> wrapper). */
img.sf-card__img { height: 180px; object-fit: cover; border-bottom: 1px solid var(--line); }
