/*
 * Standard Punching Homepage 2.0.1
 * Every rule starts with ".sphm" so the theme cannot restyle the page and the page cannot restyle the theme.
 * The "theme guard" block near the top cancels what a theme adds to plain tags (table borders, quote bars, button shadows, link outlines).
 * Sizes are in px, not rem, so a theme that shrinks the root font size on phones cannot shrink the page.
 *
 * Colors
 *   Navy #14246B and deep navy #0E1A52 build structure. Gold #F2B01E means "act" (buttons, the selected tab, the slider handle).
 *   Linen #FBF8F1, sand #F4EEDF and gold wash #FFF3D1 are the warm secondary colors. Lines are warm (#E7DFCB), never blue-grey.
 * Hover and press
 *   Gold buttons turn a deeper amber and show a dashed "stitch" ring. Outline buttons fill with the gold wash.
 *   Links thicken their gold underline. Cards that can be clicked get a gold border. Nothing zooms, lifts or slides.
 * No scroll effects: nothing here reacts to scrolling the page.
 */

/* ------------------------------------------------------------------ page shell (theme neutralised on the front page only) */
body.sphm-on { overflow-x: clip; }
body.sphm-on .site-content { margin: 0; padding: 0; }
body.sphm-on .site-content > .ast-container { display: block; width: 100%; max-width: none; margin: 0; padding: 0; }
body.sphm-on .sphome-home, body.sphm-on #sphome-portal { display: none !important; }

/* ------------------------------------------------------------------ tokens */
.sphm {
  --navy: #14246B; --deep: #0E1A52; --ink: #161E4B; --muted: #4B5579;
  --gold: #F2B01E; --gold-deep: #E39A00; --gold-ink: #6B4A00;
  --linen: #FBF8F1; --sand: #F4EEDF; --wash: #FFF3D1; --line: #E7DFCB; --line-2: #D6CBAD; --stitch: #BDAE86;
  --err: #B5202F; --ok: #12805C;
  --on-dark: rgba(255, 255, 255, .86); --on-dark-2: rgba(255, 255, 255, .68); --on-dark-line: rgba(255, 255, 255, .18);
  --display: "SP Bricolage", "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --body: "SP Figtree", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --gut: clamp(20px, 4.2vw, 44px); --max: 1200px; --pad: clamp(56px, 7.4vw, 112px);
  --r: 12px; --r-lg: 20px;
  --twill: repeating-linear-gradient(135deg, rgba(255, 255, 255, .032) 0 1px, transparent 1px 7px);
  --night: linear-gradient(165deg, #172B76 0%, #0E1A52 58%, #0B1546 100%);
}

.sphm, .sphm *, .sphm *::before, .sphm *::after { box-sizing: border-box; }
.sphm {
  display: block; position: relative; width: 100%; margin: 0; padding: 0;
  background: #fff; color: var(--ink);
  font: 400 17px/1.65 var(--body); letter-spacing: 0; text-align: left;
  -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
.sphm h1, .sphm h2, .sphm h3, .sphm p, .sphm ul, .sphm ol, .sphm li, .sphm figure, .sphm blockquote, .sphm dl, .sphm dt, .sphm dd, .sphm fieldset, .sphm legend, .sphm table { margin: 0; padding: 0; }
.sphm ul, .sphm ol { list-style: none; }
.sphm img { display: block; max-width: 100%; height: auto; border: 0; }
.sphm svg { flex: none; }
.sphm a { text-decoration-thickness: 2px; text-underline-offset: .2em; }
.sphm [id] { scroll-margin-top: calc(var(--sph-bar, 76px) + 14px); }

/* Theme guard: themes such as Astra style bare tags (a border on every table cell, a bar and italics on quotes, a shadow on buttons,
   a box around fieldsets, a dotted outline on clicked links). Cancelled once here, so the rules below only say what the design wants. */
.sphm table, .sphm thead, .sphm tbody, .sphm tfoot, .sphm tr, .sphm th, .sphm td, .sphm caption { border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.sphm table { width: 100%; border-collapse: separate; border-spacing: 0; }
.sphm th { font-weight: 700; text-align: left; }
.sphm blockquote { border: 0; font-size: inherit; font-style: normal; line-height: inherit; color: inherit; quotes: none; position: static; }
.sphm blockquote::before, .sphm blockquote::after { content: none; }
.sphm fieldset { min-width: 0; border: 0; border-radius: 0; }
.sphm legend, .sphm label { color: inherit; font: inherit; }
.sphm button { font: inherit; box-shadow: none; text-shadow: none; text-transform: none; letter-spacing: normal; -webkit-appearance: none; appearance: none; }
.sphm input { font: inherit; color: inherit; background: transparent; border: 0; border-radius: 0; box-shadow: none; outline: 0; }
.sphm :is(h1, h2, h3, h4, h5, h6) { clear: none; letter-spacing: normal; text-transform: none; }
.sphm a:focus:not(:focus-visible) { outline: 0; }
.sphm img { vertical-align: baseline; }
.sphm :focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.sphm .sphm-sec--navy :focus-visible, .sphm .sphm-panel :focus-visible, .sphm .sphm-lb :focus-visible { outline-color: var(--gold); }
.sphm .sphm-vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.sphm .sphm-i { width: 1.25em; height: 1.25em; }

/* ------------------------------------------------------------------ layout */
.sphm .sphm-wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.sphm .sphm-sec { position: relative; padding-block: var(--pad); }
.sphm .sphm-sec--linen { background: var(--linen); }
.sphm .sphm-sec--navy { color: var(--on-dark); background: var(--twill), var(--night); }
.sphm .sphm-head { max-width: 780px; margin-bottom: clamp(28px, 3.6vw, 52px); }
.sphm .sphm-head--wide { max-width: 920px; }
.sphm .sphm-center { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 48px); }
.sphm .sphm-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); }
.sphm .sphm-split .sphm-head { margin-bottom: 0; }

/* ------------------------------------------------------------------ type */
.sphm .sphm-h1 { font: 800 clamp(33.6px, 16.8px + 3.7vw, 60px)/1.03 var(--display); font-stretch: 84%; letter-spacing: -.028em; color: var(--navy); text-wrap: balance; }
.sphm .sphm-h2 { font: 760 clamp(27.2px, 17.6px + 2.2vw, 43.2px)/1.08 var(--display); font-stretch: 88%; letter-spacing: -.022em; color: var(--navy); text-wrap: balance; }
.sphm .sphm-h3 { font: 700 19.52px/1.22 var(--display); font-stretch: 94%; letter-spacing: -.012em; color: var(--navy); }
.sphm .sphm-h3--lg { font-size: clamp(20.8px, 16.8px + 1vw, 27.2px); margin: clamp(32px, 4vw, 52px) 0 18px; }
.sphm .sphm-intro { margin-top: 16px; max-width: 66ch; font-size: 16.96px; color: var(--muted); }
.sphm .sphm-lead { max-width: 62ch; font-size: 17.6px; color: var(--ink); }
.sphm .sphm-sec--navy .sphm-h2, .sphm .sphm-sec--navy .sphm-h3 { color: #fff; }
.sphm .sphm-sec--navy .sphm-intro { color: var(--on-dark); }

/* ------------------------------------------------------------------ buttons and links */
.sphm .sphm-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .8em 1.55em; border: 2px solid transparent; border-radius: 12px;
  font: 700 16px/1.2 var(--body); text-decoration: none; text-align: center; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  transition: background-color .18s, color .18s, border-color .18s;
}
.sphm .sphm-btn::after { content: ""; position: absolute; inset: 4px; border: 1.5px dashed currentColor; border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .18s; }
.sphm .sphm-btn:hover::after { opacity: .55; }
.sphm .sphm-btn:active { transform: translateY(1px); }
.sphm .sphm-btn--gold { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.sphm .sphm-btn--gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--deep); }
.sphm .sphm-btn--line { background: transparent; border-color: var(--navy); color: var(--navy); }
.sphm .sphm-btn--line:hover { background: var(--wash); border-color: var(--navy); color: var(--navy); }
.sphm .sphm-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .55); color: #fff; }
.sphm .sphm-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.sphm .sphm-btn--block { display: flex; width: 100%; }
.sphm .sphm-actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }

/* ------------------------------------------------------------------ icons and bullets */
.sphm .sphm-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--wash); color: var(--navy); }
.sphm .sphm-ico .sphm-i { width: 26px; height: 26px; }

/* ------------------------------------------------------------------ 1. hero */
.sphm .sphm-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(24px, 3.4vw, 52px) clamp(52px, 6.4vw, 96px);
  background: radial-gradient(60% 56% at 80% 40%, rgba(242, 176, 30, .13), transparent 72%), linear-gradient(180deg, #fff 0%, var(--linen) 100%);
}
.sphm .sphm-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 3vw, 30px); align-items: center; }
.sphm .sphm-hero__copy { display: contents; }
.sphm .sphm-hero .sphm-h1 { order: 1; }
.sphm .sphm-hero__media { order: 2; }
.sphm .sphm-hero .sphm-actions { order: 3; }
.sphm .sphm-hero .sphm-lead { order: 4; }
.sphm .sphm-hero .sphm-ticks { order: 5; }
.sphm .sphm-hero .sphm-actions .sphm-btn { flex: 1 1 220px; }
.sphm .sphm-ticks { display: grid; grid-template-columns: minmax(0, 1fr); gap: 11px 28px; }
.sphm .sphm-ticks li { display: flex; align-items: flex-start; gap: 11px; font-size: 15.68px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.sphm .sphm-ticks .sphm-i { width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--navy); color: var(--gold); stroke-width: 2.6; }
.sphm .sphm-hero__media { justify-self: center; width: min(100%, 560px); margin: min(9vw, 52px) 0 0; }
.sphm .sphm-hero__cap { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; padding-inline: 5%; font-size: 14.72px; font-weight: 600; color: var(--muted); }
.sphm .sphm-hero__cap span::before { content: ""; display: inline-block; width: 20px; margin-right: 9px; border-top: 2.5px dashed var(--navy); vertical-align: middle; }
.sphm .sphm-hero__cap span + span::before { border-top-style: solid; }

/* the embroidery hoop */
.sphm .sphm-hoop {
  position: relative; aspect-ratio: 1; padding: clamp(12px, 2.8%, 17px); border-radius: 50%;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, .6), transparent 40%),
    conic-gradient(from 200deg, #F7D783, #E2A41C, #B58008, #E9B73D, #F7D783);
  box-shadow: 0 0 0 1px rgba(107, 74, 0, .4), 0 26px 44px -20px rgba(14, 26, 82, .5), inset 0 0 0 4px rgba(255, 255, 255, .3);
}
.sphm .sphm-hoop::after { content: ""; position: absolute; inset: clamp(8px, 1.9%, 11px); border-radius: 50%; box-shadow: inset 0 3px 8px rgba(80, 52, 0, .45); pointer-events: none; }
.sphm .sphm-hoop__screw { position: absolute; top: -4.5%; left: 50%; z-index: 4; width: 15%; height: 9%; transform: translateX(-50%); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, #D79A12, #8F6204); box-shadow: 0 2px 0 rgba(80, 52, 0, .45); }
.sphm .sphm-hoop__screw::before { content: ""; position: absolute; left: 50%; top: -52%; width: 54%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE7A6, #C58A0B 62%, #8F6204); box-shadow: 0 2px 0 rgba(80, 52, 0, .4); }
.sphm .sphm-hoop__screw::after { content: ""; position: absolute; left: 22%; right: 22%; top: 34%; height: 2px; background: rgba(60, 40, 0, .5); border-radius: 2px; }
.sphm .sphm-hoop__img { position: relative; width: 100%; height: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #fff; }
.sphm .sphm-hoop__img img { width: 100%; height: 100%; object-fit: cover; }

/* before and after slider */
.sphm .sphm-ba { position: relative; overflow: hidden; aspect-ratio: var(--ratio, 4 / 3); background: #fff; border-radius: var(--r-lg); touch-action: pan-y; -webkit-user-select: none; user-select: none; --pos: 50%; }
.sphm .sphm-ba--round { height: 100%; aspect-ratio: 1; border-radius: 50%; }
.sphm .sphm-hero .sphm-ba__img { object-fit: var(--hero-fit, cover); object-position: var(--hero-pos, 50% 50%); }
.sphm .sphm-ba__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.sphm .sphm-ba__after { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.sphm .sphm-ba__seam { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 2; width: 0; border-left: 3px dashed #fff; transform: translateX(-1.5px); filter: drop-shadow(0 0 2px rgba(14, 26, 82, .6)); pointer-events: none; }
.sphm .sphm-ba__handle {
  position: absolute; top: 50%; left: var(--pos); z-index: 3; display: grid; place-items: center;
  width: 56px; height: 56px; padding: 0; transform: translate(-50%, -50%);
  border: 3px solid #fff; border-radius: 50%; background: var(--gold); color: var(--deep);
  box-shadow: 0 6px 18px rgba(14, 26, 82, .42); cursor: ew-resize; touch-action: none;
  transition: background-color .18s;
}
.sphm .sphm-ba__handle::after { content: ""; position: absolute; inset: 3px; border: 1.5px dashed var(--deep); border-radius: 50%; opacity: 0; transition: opacity .18s; }
.sphm .sphm-ba__handle:hover { background: var(--gold-deep); }
.sphm .sphm-ba__handle:hover::after { opacity: .6; }
.sphm .sphm-ba__handle .sphm-i { width: 26px; height: 26px; stroke-width: 2.4; }
.sphm .sphm-ba.is-drag { cursor: grabbing; }
.sphm .sphm-ba__cap { display: flex; justify-content: space-between; margin-top: 12px; font-size: 14.72px; font-weight: 600; color: var(--muted); }

/* ------------------------------------------------------------------ 2. at a glance (dark) */
.sphm .sphm-needle { display: none; width: 112px; margin-top: 30px; border-top: 4px dashed var(--gold); border-radius: 2px; }
.sphm .sphm-spec { width: 100%; border-collapse: separate; border-spacing: 0; background: rgba(255, 255, 255, .05); border: 1px solid var(--on-dark-line); border-radius: var(--r-lg); overflow: hidden; }
.sphm .sphm-spec th, .sphm .sphm-spec td { padding: 18px 26px; text-align: left; vertical-align: top; }
.sphm .sphm-spec tbody th { width: 28%; font-weight: 700; color: #fff; }
.sphm .sphm-spec td { color: var(--on-dark); }
.sphm .sphm-spec tbody tr + tr > * { border-top: 1.5px dashed rgba(255, 255, 255, .22); }

/* ------------------------------------------------------------------ data tables (cards on phones) */
.sphm .sphm-tw { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 1px 0 rgba(20, 36, 107, .03), 0 14px 30px -22px rgba(14, 26, 82, .35); }
.sphm .sphm-tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.84px; line-height: 1.5; text-align: left; }
.sphm .sphm-tbl th, .sphm .sphm-tbl td { padding: 16px 22px; text-align: left; vertical-align: top; }
.sphm .sphm-tbl thead th { background: var(--sand); color: var(--navy); font: 700 14.88px/1.3 var(--body); border-bottom: 1px solid var(--line-2); }
.sphm .sphm-tbl tbody th { width: 24%; font-weight: 700; color: var(--navy); }
.sphm .sphm-tbl tbody tr + tr > * { border-top: 1.5px dashed var(--line-2); }

/* ------------------------------------------------------------------ 3. services */
.sphm .sphm-svc__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sphm .sphm-card { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-areas: "img title" "img from" "text text" "best best"; gap: 4px 14px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .18s, box-shadow .18s; }
.sphm .sphm-card:hover, .sphm .sphm-card:focus-within { border-color: var(--gold-deep); box-shadow: 0 14px 30px -20px rgba(14, 26, 82, .4); }
.sphm .sphm-card__img { grid-area: img; align-self: start; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--sand); }
.sphm .sphm-card__img img { width: 100%; height: 100%; object-fit: cover; }
.sphm .sphm-card__body, .sphm .sphm-card__meta { display: contents; }
.sphm .sphm-card__t { grid-area: title; align-self: end; font-size: 18.4px; }
.sphm .sphm-card__t a { color: var(--navy); text-decoration: none; }
.sphm .sphm-card__t a::after { content: ""; position: absolute; inset: 0; border-radius: 18px; }
.sphm .sphm-card__t a:hover { text-decoration: underline; text-decoration-color: var(--gold-deep); text-decoration-thickness: 3px; text-underline-offset: .2em; }
.sphm .sphm-card__t a:focus-visible { outline-offset: 2px; }
.sphm .sphm-card__from { grid-area: from; align-self: start; margin: 0; font-size: 14.4px; font-weight: 600; color: var(--muted); }
.sphm .sphm-card__from b { display: inline-block; margin-left: 2px; padding: .05em .55em; border-radius: 999px; background: var(--wash); color: var(--navy); font: 800 16.32px/1.5 var(--display); transition: background-color .18s; }
.sphm .sphm-card:hover .sphm-card__from b, .sphm .sphm-card:focus-within .sphm-card__from b { background: var(--gold); }
.sphm .sphm-card__text { grid-area: text; margin-top: 8px; font-size: 15.52px; line-height: 1.58; color: var(--muted); }
.sphm .sphm-card__best { grid-area: best; margin-top: 10px; padding-top: 12px; border-top: 1.5px dashed var(--line-2); font-size: 14.4px; color: var(--muted); }
.sphm .sphm-card__best strong { color: var(--ink); }

/* ------------------------------------------------------------------ 4. what can we turn into thread */
.sphm .sphm-thread__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.sphm .sphm-patch { position: relative; display: flex; gap: 16px; padding: 22px 20px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.sphm .sphm-patch::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--line-2); border-radius: 15px; pointer-events: none; }
.sphm .sphm-patch .sphm-h3 { margin-bottom: 8px; }
.sphm .sphm-patch p { font-size: 15.68px; color: var(--muted); }

/* ------------------------------------------------------------------ 5. steps */
.sphm .sphm-steps { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.sphm .sphm-steps::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; border-left: 2.5px dashed var(--stitch); }
.sphm .sphm-step { position: relative; padding-left: 74px; }
.sphm .sphm-step__t::before { content: attr(data-n); content: attr(data-n) / ""; position: absolute; left: 0; top: -2px; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 0 0 6px #fff; font: 800 21.6px/1 var(--display); }
.sphm .sphm-step .sphm-h3 { margin-bottom: 8px; padding-top: 4px; font-size: 20.8px; }
.sphm .sphm-step p { color: var(--muted); }

/* ------------------------------------------------------------------ 6. what is embroidery digitizing */
.sphm .sphm-lead--xl { max-width: 62ch; font-size: clamp(18.56px, 16.32px + .6vw, 22.72px); line-height: 1.55; font-weight: 500; color: var(--ink); }
.sphm .sphm-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px 48px; margin-top: 22px; max-width: 1000px; color: var(--muted); }
.sphm .sphm-tbl--decide tbody th { width: 21%; }

/* ------------------------------------------------------------------ 7. hand vs auto */
.sphm .sphm-tbl--cmp td { position: relative; padding-left: 56px; }
.sphm .sphm-tbl--cmp thead th:nth-child(2) { background: var(--sand); color: var(--muted); }
.sphm .sphm-tbl--cmp thead th:nth-child(3) { background: var(--navy); color: #fff; border-bottom-color: var(--navy); }
.sphm .sphm-tbl--cmp td:nth-child(2) { color: var(--muted); }
.sphm .sphm-tbl--cmp td:nth-child(3) { background: var(--wash); color: var(--ink); font-weight: 600; }
.sphm .sphm-tbl--cmp tbody tr + tr > td:nth-child(3) { border-top-color: rgba(227, 154, 0, .45); }
.sphm .sphm-cmp__ic { position: absolute; left: 20px; top: 16px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; }
.sphm .sphm-cmp__ic .sphm-i { width: 14px; height: 14px; stroke-width: 3; }
.sphm .sphm-cmp__ic--no { background: #EDE6D3; color: #7A6F52; }
.sphm .sphm-cmp__ic--yes { background: var(--navy); color: var(--gold); }

/* ------------------------------------------------------------------ 8. sizes */
.sphm .sphm-tip { margin-top: 26px; padding: 18px 20px; border-left: 4px solid var(--gold); border-radius: 4px 14px 14px 4px; background: var(--wash); font-size: 15.68px; line-height: 1.6; color: var(--ink); }
.sphm .sphm-tip strong { color: var(--navy); }
.sphm .sphm-tbl--sizes tbody th { width: 30%; }

/* ------------------------------------------------------------------ 9. fabric */
.sphm .sphm-tbl--fabric tbody th { width: 34%; }
.sphm .sphm-tbl--fabric th, .sphm .sphm-tbl--fabric td { vertical-align: middle; }
.sphm .sphm-tbl--fabric tbody th > span { vertical-align: middle; }
.sphm .sphm-sw { display: inline-block; width: 42px; height: 42px; margin-right: 14px; border-radius: 11px; border: 1px solid rgba(20, 36, 107, .14); }
.sphm .sphm-sw--pique { background: radial-gradient(circle at center, rgba(20, 36, 107, .32) 1.3px, transparent 1.8px) 0 0 / 8px 8px, #F4EEDF; }
.sphm .sphm-sw--knit { background: repeating-linear-gradient(90deg, rgba(20, 36, 107, .26) 0 1.5px, transparent 1.5px 4px), #F4EEDF; }
.sphm .sphm-sw--cap { background: repeating-linear-gradient(45deg, rgba(20, 36, 107, .3) 0 2px, transparent 2px 6px), #E8DDBF; }
.sphm .sphm-sw--fleece { background: radial-gradient(circle at center, rgba(255, 255, 255, .95) 2.2px, transparent 2.8px) 0 0 / 7px 7px, #D8CCAA; }
.sphm .sphm-sw--twill { background: repeating-linear-gradient(135deg, rgba(14, 26, 82, .34) 0 2px, transparent 2px 5px), #9DABD9; }

/* ------------------------------------------------------------------ 10. file formats */
.sphm .sphm-tbl--formats tbody th { width: 20%; }
.sphm .sphm-fmt { display: inline-block; min-width: 3.5em; padding: .32em .85em; border-radius: 9px; background: var(--navy); color: #fff; font: 800 15.2px/1.2 var(--display); letter-spacing: .02em; text-align: center; }
.sphm .sphm-works { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; max-width: 70ch; font-weight: 600; color: var(--navy); }
.sphm .sphm-works .sphm-i { width: 24px; height: 24px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--gold); color: var(--deep); stroke-width: 2.8; }

/* ------------------------------------------------------------------ 11. pricing + estimator (dark) */
.sphm .sphm-pricing__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: start; }
.sphm .sphm-pricing .sphm-tw { background: rgba(255, 255, 255, .05); border-color: var(--on-dark-line); box-shadow: none; }
.sphm .sphm-pricing .sphm-tbl thead th { background: rgba(255, 255, 255, .08); color: #fff; border-bottom-color: var(--on-dark-line); }
.sphm .sphm-pricing .sphm-tbl tbody th { color: #fff; }
.sphm .sphm-pricing .sphm-tbl td { color: var(--on-dark); }
.sphm .sphm-pricing .sphm-tbl tbody tr + tr > * { border-top-color: rgba(255, 255, 255, .22); }
.sphm .sphm-cap { caption-side: top; padding: 16px 22px; text-align: left; font-size: 15.2px; font-weight: 600; color: var(--on-dark); background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--on-dark-line); }
.sphm .sphm-price { color: var(--gold); font: 800 20.8px/1.2 var(--display); }
.sphm .sphm-tbl--price td:last-child { white-space: nowrap; }
.sphm .sphm-note { margin-top: 20px; max-width: 60ch; font-size: 15.68px; color: var(--on-dark); }

.sphm .sphm-est { position: relative; filter: drop-shadow(0 28px 34px rgba(5, 9, 36, .5)); color: var(--ink); }
.sphm .sphm-est__main, .sphm .sphm-est__stub { background: #fff; }
.sphm .sphm-est__main { padding: 26px 24px 22px; border-radius: 22px 22px 0 0; -webkit-mask: radial-gradient(circle 13px at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 13px at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat; }
.sphm .sphm-est__stub { position: relative; padding: 22px 24px 24px; border-radius: 0 0 22px 22px; -webkit-mask: radial-gradient(circle 13px at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle 13px at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat; }
.sphm .sphm-est__stub::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; border-top: 2px dashed var(--line-2); }
.sphm .sphm-est__title, .sphm .sphm-sec--navy .sphm-est__title { margin-bottom: 4px; font-size: 21.6px; color: var(--navy); }
.sphm .sphm-est__grp { min-width: 0; margin-top: 16px; border: 0; }
.sphm .sphm-est__grp legend { margin-bottom: 8px; padding: 0; font-size: 14.72px; font-weight: 700; color: var(--navy); }
.sphm .sphm-opts { display: grid; gap: 8px; }
.sphm .sphm-opts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sphm .sphm-opts--3 { grid-template-columns: minmax(0, 1fr); }
.sphm .sphm-opt { position: relative; display: block; cursor: pointer; }
.sphm .sphm-opt input, .sphm .sphm-opt input:checked { background: transparent; }
.sphm .sphm-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sphm .sphm-opt > span { display: flex; flex-direction: column; justify-content: center; gap: 1px; height: 100%; min-height: 46px; padding: 9px 13px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; font-size: 14.88px; font-weight: 600; line-height: 1.3; color: var(--ink); transition: border-color .18s, background-color .18s, color .18s; }
.sphm .sphm-opt small { font-size: 12.8px; font-weight: 500; line-height: 1.35; color: var(--muted); }
.sphm .sphm-opt b { font-weight: 700; }
.sphm .sphm-opt:hover > span { background: var(--wash); border-color: var(--gold-deep); }
.sphm .sphm-opt input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.sphm .sphm-opt input:checked + span small { color: var(--on-dark); }
.sphm .sphm-opt input:focus-visible + span { outline: 3px solid var(--navy); outline-offset: 2px; }
.sphm .sphm-est__label { font-size: 14.4px; font-weight: 700; color: var(--muted); }
.sphm .sphm-est__price { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; font-size: 16px; font-weight: 600; color: var(--muted); }
.sphm .sphm-est__price strong { font: 800 clamp(38.4px, 32px + 1.6vw, 49.6px)/1 var(--display); letter-spacing: -.02em; color: var(--navy); }
.sphm .sphm-est__time { margin: 4px 0 18px; font-size: 15.2px; font-weight: 600; color: var(--ink); }
.sphm .sphm-est__note { margin-top: 14px; font-size: 13.76px; line-height: 1.5; color: var(--muted); }

/* ------------------------------------------------------------------ 12. why */
.sphm .sphm-why__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px clamp(28px, 4vw, 56px); }
.sphm .sphm-why__item { padding-top: 24px; border-top: 2px dashed var(--stitch); }
.sphm .sphm-why__item .sphm-ico { margin-bottom: 16px; }
.sphm .sphm-why__item .sphm-h3 { margin-bottom: 8px; font-size: 20.48px; }
.sphm .sphm-why__item p { color: var(--muted); }

/* ------------------------------------------------------------------ 13. reviews carousel */
.sphm .sphm-circle { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--navy); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; transition: background-color .18s, border-color .18s; }
.sphm .sphm-circle:hover { background: var(--wash); }
.sphm .sphm-circle[disabled] { opacity: .35; cursor: default; background: #fff; }
.sphm .sphm-car__track {
  --gap: 16px; display: flex; gap: var(--gap); margin-top: clamp(22px, 3vw, 34px);
  padding: 4px max(var(--gut), calc((100% - var(--max)) / 2)) 6px;
  scroll-padding-inline: max(var(--gut), calc((100% - var(--max)) / 2));
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.sphm .sphm-car__track::-webkit-scrollbar { display: none; }
.sphm .sphm-rev { display: flex; flex: 0 0 min(86%, 440px); scroll-snap-align: start; }
.sphm .sphm-rev__card { position: relative; display: flex; flex-direction: column; width: 100%; min-width: 0; overflow-wrap: anywhere; padding: 26px 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.sphm .sphm-rev__card::before { content: ""; position: absolute; inset: 6px; border: 1.5px dashed var(--line); border-radius: 15px; pointer-events: none; }
.sphm .sphm-rev__mark { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 14px; background: var(--wash); color: var(--gold-deep); }
.sphm .sphm-rev__mark .sphm-i { width: 26px; height: 26px; }
.sphm .sphm-rev__q { margin-bottom: 22px; }
.sphm .sphm-rev__q p { font-size: 18px; line-height: 1.6; color: var(--ink); }
.sphm .sphm-rev__by { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1.5px dashed var(--line-2); }
.sphm .sphm-rev__av { position: relative; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); font: 800 17px/1 var(--display); letter-spacing: .02em; }
.sphm .sphm-rev__av::after { content: ""; position: absolute; inset: 3px; border: 1.5px dashed rgba(242, 176, 30, .75); border-radius: 50%; }
.sphm .sphm-rev__who { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sphm .sphm-rev__name { font: 700 16px/1.3 var(--body); color: var(--navy); }
.sphm .sphm-rev__org { font: 500 14px/1.35 var(--body); color: var(--muted); }
.sphm .sphm-car__bar { display: none; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
html.sphm-js .sphm .sphm-car__bar { display: flex; }
html.sphm-js .sphm .sphm-car__bar[hidden] { display: none; }
.sphm .sphm-car__meter { position: relative; flex: 0 1 240px; min-width: 96px; height: 4px; border-radius: 4px; background: var(--line-2); }
.sphm .sphm-car__thumb { position: absolute; top: 0; bottom: 0; left: 0; width: 40%; border-radius: 4px; background: var(--navy); }

/* ------------------------------------------------------------------ 14. how to choose */
.sphm .sphm-pick { display: grid; gap: 12px; }
.sphm .sphm-pick__item { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 18px 18px 72px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.sphm .sphm-pick__item::before { content: attr(data-n); content: attr(data-n) / ""; position: absolute; left: 16px; top: 50%; display: grid; place-items: center; width: 40px; height: 40px; transform: translateY(-50%); border-radius: 50%; background: var(--navy); color: #fff; font: 800 17.6px/1 var(--display); }
.sphm .sphm-pick__q { font: 700 17.28px/1.3 var(--display); color: var(--navy); }
.sphm .sphm-pick__a { margin-top: 4px; font-size: 15.52px; line-height: 1.55; color: var(--muted); }
.sphm .sphm-pick__ok { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-left: auto; border-radius: 50%; background: var(--gold); color: var(--deep); }
.sphm .sphm-pick__ok .sphm-i { width: 18px; height: 18px; stroke-width: 2.8; }
.sphm .sphm-verdict { position: relative; margin-top: 18px; padding: 24px 26px; border-radius: 18px; background: var(--twill), var(--night); color: #fff; font-size: 16.64px; font-weight: 600; line-height: 1.6; }

/* ------------------------------------------------------------------ 15. who we digitize for */
.sphm .sphm-who__list { border-top: 2px dashed var(--stitch); }
.sphm .sphm-who__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 24px 0; border-bottom: 2px dashed var(--stitch); }
.sphm .sphm-who__t { display: flex; align-items: center; gap: 14px; }
.sphm .sphm-who__row p { color: var(--muted); max-width: 66ch; }

/* ------------------------------------------------------------------ 16. before and after */
.sphm .sphm-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 26px; }
.sphm .sphm-tab { padding: .8em 1em; border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 999px; background: transparent; color: #fff; font: 700 15.68px/1.2 var(--body); text-align: center; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; }
.sphm .sphm-tab:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .7); }
.sphm .sphm-tab[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--deep); }
.sphm .sphm-tab[aria-selected="true"]:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.sphm .sphm-pane { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.sphm .sphm-pane[hidden] { display: none; }
.sphm .sphm-pane .sphm-ba { border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 24px 44px -26px rgba(0, 0, 0, .6); }
.sphm .sphm-pane .sphm-ba__cap { color: var(--on-dark-2); }
.sphm .sphm-pane__info > p { color: var(--on-dark); }
.sphm .sphm-pane__info .sphm-h3 { margin-bottom: 10px; font-size: clamp(20.8px, 17.6px + .9vw, 27.2px); }
.sphm .sphm-changes { display: grid; gap: 12px; margin: 20px 0; }
.sphm .sphm-changes li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.52px; line-height: 1.55; color: var(--on-dark); }
.sphm .sphm-changes strong { color: #fff; }
.sphm .sphm-changes .sphm-i { width: 22px; height: 22px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--gold); color: var(--deep); stroke-width: 2.8; }
.sphm .sphm-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 24px; border: 1px solid var(--on-dark-line); border-radius: 14px; overflow: hidden; }
.sphm .sphm-specs > div { padding: 12px 16px; }
.sphm .sphm-specs > div:nth-child(n+3) { border-top: 1.5px dashed rgba(255, 255, 255, .22); }
.sphm .sphm-specs > div:nth-child(even) { border-left: 1.5px dashed rgba(255, 255, 255, .22); }
.sphm .sphm-specs dt { font-size: 13.12px; font-weight: 600; color: var(--on-dark-2); }
.sphm .sphm-specs dd { font-size: 15.68px; font-weight: 700; color: #fff; }

/* ------------------------------------------------------------------ 17. gallery + viewer */
.sphm .sphm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.sphm .sphm-chip { padding: .62em 1.2em; border: 1.5px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--navy); font: 700 15.2px/1.1 var(--body); cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; }
.sphm .sphm-chip:hover { background: var(--wash); border-color: var(--gold-deep); }
.sphm .sphm-chip.is-on, .sphm .sphm-chip.is-on:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.sphm .sphm-gal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sphm .sphm-gal__item[hidden] { display: none; }
.sphm .sphm-gal__btn { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; overflow: hidden; border: 1.5px solid var(--line); border-radius: 14px; background: var(--sand); cursor: zoom-in; transition: border-color .18s; }
.sphm .sphm-gal__img { width: 100%; height: 100%; object-fit: cover; }
.sphm .sphm-gal__zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--deep); opacity: 0; transition: opacity .18s; }
.sphm .sphm-gal__btn:hover { border-color: var(--gold-deep); }
.sphm .sphm-gal__btn:hover .sphm-gal__zoom, .sphm .sphm-gal__btn:focus-visible .sphm-gal__zoom { opacity: 1; }

body.sphm-lb-open { overflow: hidden; }
.sphm .sphm-lb { width: 100%; max-width: none; height: 100%; max-height: none; padding: 0; border: 0; background: transparent; color: #fff; overflow: auto; overscroll-behavior: contain; }
.sphm .sphm-lb::backdrop { background: rgba(7, 12, 42, .9); }
.sphm .sphm-lb[open] { display: flex; align-items: center; justify-content: center; padding: 12px; }
.sphm .sphm-lb__in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; width: min(100%, 1060px); max-height: 100%; overflow: auto; border-radius: 22px; background: var(--twill), var(--night); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.sphm .sphm-lb__fig { position: relative; display: grid; place-items: center; background: #0A1240; }
.sphm .sphm-lb__fig img { width: 100%; aspect-ratio: 1; max-height: 62vh; max-height: 62dvh; object-fit: contain; }
.sphm .sphm-lb__info { padding: 22px 22px 26px; }
.sphm .sphm-lb__info .sphm-h3 { margin: 2px 0 8px; font-size: 22.4px; color: #fff; }
.sphm .sphm-lb__info p { color: var(--on-dark); }
.sphm .sphm-lb__count { font-size: 13.6px; font-weight: 600; color: var(--on-dark-2) !important; }
.sphm .sphm-lb__svc { margin: 10px 0 18px; font-size: 14.72px; font-weight: 700; color: var(--gold) !important; }
.sphm .sphm-lb__x, .sphm .sphm-lb__nav { position: absolute; z-index: 3; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 2px solid rgba(255, 255, 255, .55); border-radius: 50%; background: rgba(14, 26, 82, .78); color: #fff; cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; }
.sphm .sphm-lb__x { top: 12px; right: 12px; }
.sphm .sphm-lb__nav { top: 50%; transform: translateY(-50%); }
.sphm .sphm-lb__nav--prev { left: 12px; }
.sphm .sphm-lb__nav--next { right: 12px; }
.sphm .sphm-lb__x:hover, .sphm .sphm-lb__nav:hover { background: var(--gold); border-color: var(--gold); color: var(--deep); }

/* ------------------------------------------------------------------ 18. faq */
.sphm .sphm-q { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .18s; }
.sphm .sphm-q + .sphm-q { margin-top: 12px; }
.sphm .sphm-q:hover { border-color: var(--gold-deep); }
.sphm .sphm-q[open] { border-color: var(--navy); }
.sphm .sphm-q summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; list-style: none; cursor: pointer; border-radius: 16px; }
.sphm .sphm-q summary::-webkit-details-marker { display: none; }
.sphm .sphm-q summary::marker { content: ""; }
.sphm .sphm-q__t { font: 700 17.28px/1.35 var(--display); font-stretch: 94%; color: var(--navy); }
.sphm .sphm-q__ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--wash); color: var(--navy); transition: transform .2s, background-color .2s; }
.sphm .sphm-q__ic .sphm-i { width: 18px; height: 18px; stroke-width: 2.4; }
.sphm .sphm-q:hover .sphm-q__ic { background: var(--gold); }
.sphm .sphm-q[open] .sphm-q__ic { transform: rotate(45deg); background: var(--gold); }
.sphm .sphm-q__a { padding: 0 20px 20px; max-width: 70ch; color: var(--muted); }

/* ------------------------------------------------------------------ 19. closing call to action */
.sphm .sphm-final { padding-block: clamp(36px, 6vw, 84px); background: var(--linen); }
.sphm .sphm-panel { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; align-items: center; padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 64px); border-radius: 28px; background: var(--twill), var(--night); color: #fff; box-shadow: 0 30px 60px -34px rgba(14, 26, 82, .7); }
.sphm .sphm-panel::before { content: ""; position: absolute; inset: 11px; border: 2px dashed rgba(242, 176, 30, .6); border-radius: 19px; pointer-events: none; }
.sphm .sphm-panel .sphm-h2 { color: #fff; }
.sphm .sphm-panel .sphm-lead { margin: 16px 0 26px; color: var(--on-dark); }
.sphm .sphm-panel__media { width: 100%; margin: 0; justify-self: center; }
.sphm .sphm-panel .sphm-actions .sphm-btn { flex: 1 1 100%; }
/* The hoop is sized here. Its top margin equals the knob that sticks out above it, so the whole object (knob and ring) is what gets centered. */
.sphm .sphm-hoop--sm { --hw: min(100%, 230px); width: var(--hw); margin: calc(var(--hw) * .1) auto 0; }

/* ------------------------------------------------------------------ tablet and up */
@media (min-width: 560px) {
  .sphm .sphm-hoop--sm { --hw: min(100%, 280px); }
  .sphm .sphm-ticks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sphm .sphm-tabs { display: flex; flex-wrap: wrap; }
  .sphm .sphm-tab { padding: .75em 1.35em; }
  .sphm .sphm-gal__grid { gap: 14px; }
}
@media (min-width: 640px) {
  .sphm .sphm-svc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .sphm .sphm-card { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; gap: 0; padding: 0; overflow: hidden; }
  .sphm .sphm-card__img { grid-area: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .sphm .sphm-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
  .sphm .sphm-card__meta { display: block; margin-top: auto; padding-top: 16px; }
  .sphm .sphm-card__t, .sphm .sphm-card__from, .sphm .sphm-card__text, .sphm .sphm-card__best { grid-area: auto; align-self: auto; margin: 0; }
  .sphm .sphm-card { display: flex; flex-direction: column; }
  .sphm .sphm-card__t { font-size: 19.52px; }
  .sphm .sphm-card__text { margin-top: 10px; }
  .sphm .sphm-card__best { margin-top: 0; padding: 12px 0 0; }
  .sphm .sphm-card__from { margin-top: 10px; }
  .sphm .sphm-card__t a::after { border-radius: 18px; }
  .sphm .sphm-thread__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .sphm .sphm-patch { flex-direction: column; gap: 14px; padding: 26px 24px 28px; }
  .sphm .sphm-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sphm .sphm-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sphm .sphm-gal__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sphm .sphm-rev { flex-basis: calc((100% - var(--gap)) / 2); }
  .sphm .sphm-who__row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 12px 40px; align-items: start; }
  .sphm .sphm-who__row p { padding-top: 10px; }
  .sphm .sphm-lb__in { grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr); }
  .sphm .sphm-lb__fig img { max-height: 78vh; max-height: 78dvh; }
  .sphm .sphm-lb__info { display: flex; flex-direction: column; justify-content: center; padding: 32px 28px; }
}
@media (min-width: 720px) {
  .sphm .sphm-opts--3 { grid-template-columns: minmax(0, 1fr); }
  .sphm .sphm-panel .sphm-actions .sphm-btn { flex: 0 0 auto; min-width: 220px; }
}
@media (min-width: 960px) {
  .sphm .sphm-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(40px, 5vw, 88px); }
  .sphm .sphm-hero__copy { display: block; }
  .sphm .sphm-hero__media { margin-top: 0; }
  .sphm .sphm-hero .sphm-h1, .sphm .sphm-hero__media, .sphm .sphm-hero .sphm-actions, .sphm .sphm-hero .sphm-lead, .sphm .sphm-hero .sphm-ticks { order: 0; }
  .sphm .sphm-hero .sphm-lead { margin: 24px 0 28px; }
  .sphm .sphm-hero .sphm-actions { margin-bottom: 32px; }
  .sphm .sphm-hero .sphm-actions .sphm-btn { flex: 0 0 auto; }
  .sphm .sphm-split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
  .sphm .sphm-split--table { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .sphm .sphm-split--choose { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .sphm .sphm-split--faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .sphm .sphm-needle { display: block; }
  .sphm .sphm-pricing__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .sphm .sphm-pane { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 4vw, 60px); align-items: center; }
  .sphm .sphm-panel { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(30px, 5vw, 72px); }
  .sphm .sphm-hoop--sm { --hw: min(100%, 340px); }
  .sphm .sphm-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 0; }
  .sphm .sphm-steps::before { left: 26px; right: auto; top: 26px; bottom: auto; width: calc((100% + 24px) * .75); border-left: 0; border-top: 2.5px dashed var(--stitch); }
  .sphm .sphm-step { padding-left: 0; padding-top: 74px; }
  .sphm .sphm-step__t::before { top: 0; }
  .sphm .sphm-step .sphm-h3 { padding-top: 0; }
  .sphm .sphm-lb__in { grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); }
}
@media (min-width: 1040px) {
  .sphm .sphm-thread__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sphm .sphm-why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .sphm .sphm-svc__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sphm .sphm-gal__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .sphm .sphm-rev { flex-basis: calc((100% - 2 * var(--gap)) / 3); }
  .sphm .sphm-car__track { --gap: 22px; width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; padding-inline: 0; scroll-padding-inline: 0; }
}

/* Cards in the same row line up title, text, "Best for" and price (browsers without subgrid keep the flexible layout above). */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 640px) {
    .sphm .sphm-svc__grid { row-gap: 0; }
    .sphm .sphm-card { display: grid; grid-template-rows: subgrid; grid-row: span 5; margin-bottom: 18px; }
    .sphm .sphm-card__body, .sphm .sphm-card__meta { display: contents; }
    .sphm .sphm-card__img { grid-row: 1; }
    .sphm .sphm-card__t { grid-row: 2; padding: 20px 20px 0; }
    .sphm .sphm-card__text { grid-row: 3; padding: 10px 20px 0; }
    .sphm .sphm-card__best { grid-row: 4; margin: 16px 20px 0; padding: 12px 0 0; }
    .sphm .sphm-card__from { grid-row: 5; padding: 10px 20px 22px; }
  }
}

/* ------------------------------------------------------------------ phones: tables become cards, chips tidy up */
@media (max-width: 719px) {
  .sphm .sphm-tbl thead, .sphm .sphm-spec thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .sphm .sphm-tbl, .sphm .sphm-tbl tbody, .sphm .sphm-tbl tr, .sphm .sphm-tbl th, .sphm .sphm-tbl td,
  .sphm .sphm-spec, .sphm .sphm-spec tbody, .sphm .sphm-spec tr, .sphm .sphm-spec th, .sphm .sphm-spec td { display: block; width: auto; }
  .sphm .sphm-tbl tbody tr, .sphm .sphm-spec tbody tr { padding: 18px 18px 20px; }
  .sphm .sphm-tbl tbody tr + tr, .sphm .sphm-spec tbody tr + tr { border-top: 1.5px dashed var(--line-2); }
  .sphm .sphm-spec tbody tr + tr, .sphm .sphm-pricing .sphm-tbl tbody tr + tr { border-top-color: rgba(255, 255, 255, .22); }
  .sphm .sphm-tbl tbody tr + tr > *, .sphm .sphm-spec tbody tr + tr > * { border-top: 0; }
  .sphm .sphm-tbl th, .sphm .sphm-tbl td, .sphm .sphm-spec th, .sphm .sphm-spec td { padding: 0; }
  .sphm .sphm-tbl tbody th, .sphm .sphm-spec tbody th { width: auto; font-size: 17px; line-height: 1.3; }
  .sphm .sphm-tbl td { margin-top: 12px; font-size: 15.5px; line-height: 1.5; }
  .sphm .sphm-tbl td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--muted); }
  .sphm .sphm-spec td { margin-top: 4px; font-size: 16px; line-height: 1.5; }
  .sphm .sphm-pricing .sphm-tbl td::before { color: var(--on-dark-2); }
  /* hand vs auto: the icon sits in its own column, level with the answer */
  .sphm .sphm-tbl--cmp td { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 12px; padding: 0; }
  .sphm .sphm-tbl--cmp td::before { grid-column: 2; margin-bottom: 3px; }
  .sphm .sphm-tbl--cmp td .sphm-cmp__ic { position: static; grid-column: 1; grid-row: 2; }
  .sphm .sphm-tbl--cmp td > span:last-child { grid-column: 2; grid-row: 2; }
  .sphm .sphm-tbl--cmp td:nth-child(3) { margin: 14px -18px -20px; padding: 14px 18px 18px; }
  .sphm .sphm-tbl--cmp tbody tr + tr > td:nth-child(3) { border-top: 0; }
  .sphm .sphm-sw { width: 34px; height: 34px; margin-right: 11px; }
  .sphm .sphm-tbl--price td:last-child { white-space: normal; display: flex; align-items: baseline; gap: 8px; }
  .sphm .sphm-tbl--price td:last-child::before { display: inline; margin: 0; }
  .sphm .sphm-cap { display: block; width: auto; padding: 14px 18px; }
  /* gallery filter: three even columns instead of a ragged wrap */
  .sphm .sphm-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .sphm .sphm-chip { padding: .7em .4em; overflow: hidden; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
}
@media (max-width: 479px) {
  .sphm .sphm-pick__ok { display: none; }
  .sphm .sphm-hero .sphm-actions .sphm-btn { flex: 1 1 100%; }
  .sphm .sphm-est__main { padding: 22px 18px 20px; }
  .sphm .sphm-est__stub { padding: 20px 18px 22px; }
  .sphm .sphm-rev__card { padding: 24px 22px 22px; }
}

/* ------------------------------------------------------------------ motion preferences */
@media (prefers-reduced-motion: reduce) {
  .sphm *, .sphm *::before, .sphm *::after { transition-duration: .01ms !important; animation: none !important; scroll-behavior: auto !important; }
}
