/* ═══════════════════════════════════════════════════════════════════════
   /solutions/social-media — the social conversation as data. Own spine:
   live post wall → reshare ripple (spread) → what-you-pull grid → purple
   coverage band (centre bloom). Accent PURPLE. House rules: warm dark, white
   headings, hairline-on-transparent (NO fills), neutral borders, blur-in/out.
   ═══════════════════════════════════════════════════════════════════════ */
@import url("../../_ds/fonts.css");
@import url("../../_ds/theme.css");
@import url("../../_shared/chrome.css");
@import url("../../_shared/components.css");
@import url("../../_shared/audience-switcher.css");

main { position: relative; z-index: 1; overflow-x: clip; }
.blur-t { opacity: 0; filter: blur(12px); transition: opacity 760ms cubic-bezier(0.22,1,0.36,1), filter 760ms cubic-bezier(0.22,1,0.36,1); transform: translateZ(0); backface-visibility: hidden; will-change: filter, opacity; }
.blur-t.is-in { opacity: 1; filter: blur(0); }
@media (prefers-reduced-motion: reduce) { .blur-t { opacity: 1; filter: none; transition: none; } }

/* ── Act 1 — Hero ─────────────────────────────────────────────────────── */
.sm-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 72px); align-items: center; max-width: 1500px; margin-inline: auto; padding: clamp(120px, 15vh, 176px) clamp(20px, 5vw, 72px) clamp(64px, 9vh, 110px); }
.sm-hero-h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero-xl); line-height: 0.98; letter-spacing: -0.03em; color: var(--text-primary); margin: 0; max-width: 12ch; }
.sm-hero-h1 em { font-style: normal; color: var(--text-primary); }
.sm-hero-sub { font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.5; color: var(--text-secondary); margin: 22px 0 0; max-width: 44ch; }
.sm-hero-cta { margin-top: clamp(26px, 4vh, 40px); }
.sm-hero-x { margin-top: 18px; }

/* live feed — a single column of hairline post cards scrolling continuously,
   masked at the edges. No fill. */
.sm-feed { position: relative; height: clamp(360px, 46vh, 520px); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 11%, #000 89%, transparent); mask-image: linear-gradient(180deg, transparent, #000 11%, #000 89%, transparent); }
.sm-feed-track { display: flex; flex-direction: column; gap: 12px; animation: sm-scroll 26s linear infinite; will-change: transform; }
@keyframes sm-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.sm-feed:hover .sm-feed-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .sm-feed-track { animation: none; } }
.sm-post { border: 1px solid var(--border-subtle); border-radius: 14px; padding: 15px 16px; display: flex; flex-direction: column; gap: 9px; transition: border-color 300ms ease; }
.sm-post.is-pulse { border-color: var(--border); }
.sm-post-head { display: flex; align-items: center; gap: 8px; }
.sm-fav { width: 18px; height: 18px; border-radius: 5px; }
.sm-post-handle { font-family: var(--font-code); font-size: 12px; color: var(--text-tertiary); }
.sm-post-txt { font-family: var(--font-base); font-size: 13.5px; line-height: 1.4; color: var(--text-primary); margin: 0; }
.sm-post-eng { display: flex; gap: 16px; margin-top: 2px; }
.sm-eng { font-family: var(--font-code); font-size: 11.5px; color: var(--text-tertiary); }
.sm-eng span { color: #7C4FE8; }

/* ── Act 2 — The spread (reshare ripple) ──────────────────────────────── */
.sm-spread { max-width: 1000px; margin-inline: auto; padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 72px); text-align: center; }
.sm-spread-head { max-width: 640px; margin-inline: auto; }
.sm-spread-h2, .sm-kinds-h2, .sm-use-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.0; letter-spacing: -0.026em; color: var(--text-primary); margin: 0; }
.sm-spread-h2 em, .sm-kinds-h2 em, .sm-use-h2 em, .sm-end-h2 em { font-style: normal; color: var(--text-primary); }
.sm-spread-sub, .sm-kinds-sub, .sm-use-sub { font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.5; color: var(--text-secondary); margin: 16px auto 0; max-width: 50ch; }
.sm-ripple { margin-top: clamp(30px, 4vh, 52px); }
.sm-ripple-svg { width: min(480px, 92vw); height: auto; display: block; margin: 0 auto; }
.sm-ring { fill: none; stroke: var(--border-subtle); stroke-width: 1; transform-box: fill-box; transform-origin: center; transform: scale(0.2); opacity: 0; transition: transform 900ms cubic-bezier(0.22,1,0.36,1), opacity 900ms ease; }
.sm-ripple.is-in [data-ring] { transform: scale(1); opacity: 1; }
.sm-ripple.is-in [data-ring]:nth-of-type(2) { transition-delay: 160ms; }
.sm-ripple.is-in [data-ring]:nth-of-type(3) { transition-delay: 320ms; }
.sm-node { fill: var(--text-quaternary); opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; transition: transform 460ms cubic-bezier(0.34,1.56,0.64,1), opacity 400ms ease; }
.sm-node--src { fill: #7C4FE8; opacity: 1; transform: scale(1); }
.sm-ripple.is-in [data-node] { opacity: 1; transform: scale(1); }
.sm-ripple-read { font-family: var(--font-code); font-size: 12.5px; color: var(--text-tertiary); margin: clamp(18px,2.4vh,26px) 0 0; }
.sm-ripple-read span { color: var(--text-primary); }

/* ── Act 3 — What you pull ────────────────────────────────────────────── */
.sm-kinds { max-width: 1200px; margin-inline: auto; padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 72px); }
.sm-kinds-head { max-width: 620px; }
.sm-kind-grid { list-style: none; margin: clamp(30px, 4vh, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 18px); }
.sm-kind { border: 1px solid var(--border-subtle); border-radius: 16px; padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 8px; transition: border-color 200ms ease, transform 200ms ease; }
.sm-kind:hover { border-color: var(--border); transform: translateY(-2px); }
.sm-kind:hover .sm-kind-t { color: #7C4FE8; }
.sm-kind-t { font-family: var(--font-display); font-size: var(--mkt-lead); color: var(--text-primary); transition: color 200ms ease; }
.sm-kind-d { font-family: var(--font-base); font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); }

/* ── Act 4 — Coverage band (SOLID purple, centre bloom) ───────────────── */
.sm-cover { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 14vh, 180px) clamp(20px, 5vw, 72px); }
.sm-cover-fill { position: absolute; inset: 0; z-index: -1; background: #7C4FE8; clip-path: circle(0% at 50% 50%); transition: clip-path 900ms cubic-bezier(0.22,1,0.36,1); }
.sm-cover.is-in .sm-cover-fill { clip-path: circle(150% at 50% 50%); }
.sm-cover-inner { position: relative; z-index: 1; max-width: 1200px; margin-inline: auto; }
.sm-cover-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.0; letter-spacing: -0.026em; color: #FFFFFF; margin: 0; }
.sm-cover-list { list-style: none; margin: clamp(30px, 4vh, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.sm-cover-k { font-family: var(--font-display); font-size: clamp(17px, 1.7vw, 23px); color: #FFFFFF; }
.sm-cover-v { font-family: var(--font-base); font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,0.82); max-width: 38ch; }

/* ── Act 5 — Use-cases ────────────────────────────────────────────────── */
.sm-use { max-width: 1200px; margin-inline: auto; padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 72px); }
.sm-use-head { max-width: 620px; }
.sm-use-grid { margin-top: clamp(30px, 4vh, 52px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }

/* ── Act 6 — Closer ───────────────────────────────────────────────────── */
.sm-end { padding: clamp(96px, 16vh, 200px) clamp(20px, 5vw, 72px); text-align: center; }
.sm-end-frame { max-width: 800px; margin-inline: auto; }
.sm-end-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero); line-height: 0.98; letter-spacing: -0.03em; color: var(--text-primary); margin: 0; }
.sm-end-cta { margin-top: clamp(28px, 4vh, 44px); justify-content: center; }
.sm-end-x { margin-top: 20px; }

@media (max-width: 960px) {
  .sm-hero { grid-template-columns: 1fr; gap: 40px; }
  .sm-kind-grid { grid-template-columns: 1fr; }
  .sm-cover-list, .sm-use-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1600px) {
  
  .sm-hero, .sm-kinds, .sm-use { max-width: 1640px; }
}
