/* Still Sonic Media — proof.css
   Name strip, client quotes and the "How it works" steps (see proof.js). */

/* ---------- name ticker (thin, news style, above Projects) ---------- */
.ssm-ticker { display: flex; align-items: stretch; height: 40px; border-top: 1px solid var(--border, #241f1a); border-bottom: 1px solid var(--border, #241f1a); background: var(--surface, #15120f); overflow: hidden; }
.ssm-ticker-tag { flex: none; display: flex; align-items: center; padding: 0 1rem 0 1.25rem; font-family: 'Space Mono', monospace; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--bg, #0f0d0b); background: var(--accent, #c8a97e); position: relative; z-index: 1; }
.ssm-ticker-tag::after { content: ''; position: absolute; right: -10px; top: 0; bottom: 0; width: 10px; background: linear-gradient(to right, rgba(200,169,126,0.35), transparent); }
.ssm-ticker .ssm-names { flex: 1; min-width: 0; display: flex; align-items: center; overflow: hidden; }
.ssm-names ul { list-style: none; display: flex; align-items: center; white-space: nowrap; }
.ssm-names li { font-family: 'Space Mono', monospace; font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text, #f7f2ea); white-space: nowrap; }
.ssm-names li::before { content: '\2022'; color: var(--accent, #c8a97e); margin: 0 1.1rem; }
.ssm-names:not(.is-moving) { overflow-x: auto; scrollbar-width: none; }
.ssm-names:not(.is-moving)::-webkit-scrollbar { display: none; }
.ssm-names.is-moving { -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 4%, #000 92%, transparent); }
.ssm-names.is-moving .ssm-names-track { display: flex; width: max-content; animation: ssm-names var(--ssm-names-time, 40s) linear infinite; }
.ssm-names.is-moving:hover .ssm-names-track { animation-play-state: paused; }
@keyframes ssm-names { to { transform: translateX(-50%); } }

.ssm-eyebrow { display: block; font-size: 0.68rem; letter-spacing: 0.35em; text-transform: uppercase; color: var(--accent, #c8a97e); }

/* ---------- quotes ---------- */
.ssm-quotes-sec { padding: 6rem 2rem; }
.ssm-quotes-sec[hidden] { display: none; }
.ssm-quotes-sec .ssm-eyebrow { text-align: center; margin-bottom: 2.5rem; }
.ssm-quotes { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.ssm-quote { border: 1px solid var(--border, #241f1a); background: var(--surface, #15120f); padding: 2rem 1.75rem; margin: 0; position: relative; }
.ssm-quote::before { content: '\201C'; position: absolute; top: 0.6rem; left: 1.2rem; font-family: 'Redaction35', Georgia, serif; font-size: 3.2rem; line-height: 1; color: var(--accent, #c8a97e); opacity: 0.45; }
.ssm-quote blockquote { font-family: 'Redaction35', Georgia, serif; font-size: 1.12rem; line-height: 1.6; color: var(--text, #f7f2ea); margin: 1.2rem 0 1.5rem; }
.ssm-quote figcaption { display: flex; flex-direction: column; gap: 0.25rem; }
.ssm-quote .n { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent, #c8a97e); }
.ssm-quote .r { font-size: 0.8rem; color: var(--muted, #7a7268); }

/* ---------- how it works ---------- */
.ssm-how { margin: 0 0 5rem; }
.ssm-how-head { text-align: center; margin-bottom: 2.5rem; }
.ssm-how-head h2 { font-family: 'Redaction35', serif; font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 400; margin-top: 1rem; }
.ssm-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: step; }
.ssm-step { border-top: 1px solid rgba(200,169,126,0.45); padding-top: 1.25rem; }
.ssm-step .no { font-family: 'Space Mono', monospace; font-size: 0.68rem; letter-spacing: 0.2em; color: var(--accent, #c8a97e); }
.ssm-step h3 { font-family: 'Redaction35', serif; font-size: 1.35rem; font-weight: 400; margin: 0.6rem 0 0.6rem; }
.ssm-step p { font-size: 0.88rem; line-height: 1.65; color: var(--muted, #7a7268); }
.ssm-step p strong { color: var(--text, #f7f2ea); font-weight: 400; }
.ssm-how-foot { text-align: center; margin-top: 2.25rem; }
.ssm-how-foot a { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted, #7a7268); text-decoration: none; border-bottom: 1px solid rgba(122,114,104,0.35); padding-bottom: 0.2rem; transition: color 0.2s, border-color 0.2s; }
.ssm-how-foot a:hover { color: var(--accent, #c8a97e); border-color: rgba(200,169,126,0.4); }
@media (max-width: 860px) { .ssm-steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; } }
@media (max-width: 520px) { .ssm-steps { grid-template-columns: 1fr; gap: 1.6rem; } }

/* reveal (added by proof.js only when motion is welcome) */
.ssm-pre { opacity: 0; transform: translateY(18px); }
.ssm-step, .ssm-quote { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(.2,.7,.2,1); }

/* ---------- questions (Book page) ---------- */
.ssm-faq { max-width: 760px; margin: 6rem auto 0; }
.ssm-faq-item { border-top: 1px solid var(--border, #241f1a); }
.ssm-faq-item:last-child { border-bottom: 1px solid var(--border, #241f1a); }
.ssm-faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.3rem 0.25rem; font-family: 'Redaction35', Georgia, serif; font-size: 1.12rem; color: var(--text, #f7f2ea); }
.ssm-faq-item summary::-webkit-details-marker { display: none; }
.ssm-faq-item summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 1px solid var(--accent, #c8a97e); border-bottom: 1px solid var(--accent, #c8a97e); transform: translateY(-3px) rotate(45deg); transition: transform 0.3s ease; }
.ssm-faq-item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.ssm-faq-item summary:hover { color: var(--accent, #c8a97e); }
.ssm-faq-item summary:focus-visible { outline: 1px solid var(--accent, #c8a97e); outline-offset: 4px; }
.ssm-faq-item p { padding: 0 2.5rem 1.4rem 0.25rem; font-size: 0.92rem; line-height: 1.75; color: var(--muted, #7a7268); }
.ssm-faq-item[open] p { animation: ssm-faq-in 0.35s ease both; }
@keyframes ssm-faq-in { from { opacity: 0; transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .ssm-faq-item[open] p { animation: none; } .ssm-faq-item summary::after { transition: none; } }

/* ---------- SSM dropdowns and calendar on the Book page (formui.js, computers only) ---------- */
.fx { position: relative; }
.fx .fx-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.fx-btn { display: block; width: 100%; text-align: left; background: var(--surface, #15120f); border: 1px solid var(--border, #241f1a); color: var(--text, #f7f2ea);
  font-family: 'Redaction35', Georgia, serif; font-size: 0.92rem; padding: 0.8rem 2.4rem 0.8rem 0.9rem; position: relative; transition: border-color 0.2s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-btn::after { content: ''; position: absolute; right: 1rem; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid #a39a8e; border-bottom: 1.5px solid #a39a8e; transform: translateY(-70%) rotate(45deg); transition: transform 0.25s ease; }
.fx-cal-btn::after { width: 12px; height: 11px; border: 1.5px solid #a39a8e; border-top-width: 3px; border-radius: 1px; transform: translateY(-50%); }
.fx.open .fx-select .fx-btn::after, .fx-select.open .fx-btn::after { transform: translateY(-20%) rotate(-135deg); }
.fx-btn.is-empty { color: var(--muted, #7a7268); }
.fx-btn:focus-visible, .fx.open .fx-btn { outline: none; border-color: var(--accent, #c8a97e); }
.fx.bad .fx-btn { border-color: rgba(201,113,92,0.7); }
.fx-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 60; background: #15120f; border: 1px solid rgba(200,169,126,0.35); box-shadow: 0 18px 40px rgba(0,0,0,0.55); animation: fx-in 0.18s ease both; }
.fx-pop[hidden] { display: none; }
@keyframes fx-in { from { opacity: 0; transform: translateY(-4px); } }
.fx-list { right: 0; list-style: none; padding: 6px 0; max-height: 280px; overflow-y: auto; }
.fx-list li { padding: 0.7rem 0.95rem; font-family: 'Redaction35', Georgia, serif; font-size: 0.95rem; color: var(--text, #f7f2ea); display: flex; justify-content: space-between; gap: 1rem; }
.fx-list li.on { background: rgba(200,169,126,0.12); }
.fx-list li[aria-selected="true"] { color: var(--accent, #c8a97e); }
.fx-list li[aria-selected="true"]::after { content: '\2713'; font-size: 0.8rem; }
.fx-cal { width: 296px; padding: 14px 14px 10px; }
.fx-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.fx-month { font-family: 'Redaction35', Georgia, serif; font-size: 1.05rem; color: var(--text, #f7f2ea); }
.fx-nav { width: 34px; height: 34px; background: none; border: 1px solid var(--border, #241f1a); color: var(--accent, #c8a97e); font-size: 1.2rem; line-height: 1; }
.fx-nav:hover:not(:disabled) { border-color: var(--accent, #c8a97e); }
.fx-nav:disabled { opacity: 0.25; }
.fx-week, .fx-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.fx-week span { text-align: center; font-family: 'Space Mono', monospace; font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted, #7a7268); padding: 4px 0 6px; }
.fx-day { aspect-ratio: 1; background: none; border: 1px solid transparent; color: var(--text, #f7f2ea); font-family: 'Space Mono', monospace; font-size: 0.74rem; transition: border-color 0.15s, background 0.15s; }
.fx-day:hover:not(:disabled), .fx-day:focus-visible { outline: none; border-color: var(--accent, #c8a97e); }
.fx-day.today { border-color: rgba(247,242,234,0.18); }
.fx-day.sel { background: var(--accent, #c8a97e); color: #0b0a08; border-color: var(--accent, #c8a97e); }
.fx-day:disabled { opacity: 0.22; }
.fx-cal-foot { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border, #241f1a); }
.fx-link { background: none; border: none; padding: 6px 2px; font-family: 'Space Mono', monospace; font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted, #7a7268); }
.fx-link:hover { color: var(--accent, #c8a97e); }
@media (prefers-reduced-motion: reduce) { .fx-pop { animation: none; } .fx-btn::after { transition: none; } }
