/* Finance showcase (Nov 20 2026, item 8 of the Nov 19 list): 4 client sites, the Maridea Wealth Management site in progress and the Walnut Ventures site in the MacBook and iPhone frames near the top of /financial-services and the advisor guide. Loads after tmn-home.css, which draws the frames. Every rule is scoped to .fsc, so the other pages that share the frames are unchanged. Static: no reveal and no automatic motion. */

.fsc .section-intro,
.fsc .gd-head { margin-bottom: 0; }
.fsc-wall { container-type: inline-size; margin-top: clamp(2.75rem, 5vw, 4.25rem); }
/* Advisor guide: 2 advisors' Google reviews under the wall */
.fsc .bc-quote-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .fsc .bc-quote-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 3.5rem); align-items: start; } }
.fsc .bc-client-quote { margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.fsc .bc-client-quote blockquote p { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.45; text-indent: -0.42em; text-wrap: pretty; color: var(--ink); }
.fsc .bc-client-quote figcaption { margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-3); }
.fsc .bc-client-quote figcaption strong { font-weight: 600; color: var(--ink); }
.fsc .bc-client-quote figcaption a { display: inline-flex; align-items: center; min-height: 44px; }
.fsc-grid { --u: calc(100cqi / 120); margin: 0; padding: 0; list-style: none; }
.fsc-tile { position: relative; min-width: 0; }

/* Each tile is 1 drawing in em, the same composition as the case pages: the MacBook in flow, so the drawing is as tall as the MacBook, and the iPhone in front of its right edge */
.fsc-scene { position: relative; isolation: isolate; width: 67.5em; }
.fsc-scene .device-mac { position: relative; width: 58em; }
.fsc-scene .device-phone { left: 52.5em; top: 13.5em; width: 15em; z-index: 2; }
.fsc-scene--solo .device-mac { width: 100%; }
.fsc-scene picture { display: contents; }

/* Device shadows, the same as the home hero (#15). Box-shadow keeps only a short edge (blur 20px or less). The soft shadows are gradients, since a box-shadow blur near 110px rendered with a hard rectangular edge on 2x screens in Chromium's software raster (Nov 20 2026). */
.fsc-scene .mac-lid { box-shadow: 0 1px 2px rgb(15 27 47 / 0.1), 0 10px 20px -12px rgb(15 27 47 / 0.24); }
.fsc-scene .phone-frame {
  box-shadow: inset 0 0 0 0.42cqi rgb(255 255 255 / 0.1), 0 1px 2px rgb(15 27 47 / 0.14), 0 10px 20px -12px rgb(15 27 47 / 0.3);
}
.fsc-scene .device-mac::before,
.fsc-scene .device-mac::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgb(15 27 47) 0%, rgb(15 27 47 / 0.962) 10%, rgb(15 27 47 / 0.856) 20%, rgb(15 27 47 / 0.705) 30%, rgb(15 27 47 / 0.536) 40%, rgb(15 27 47 / 0.376) 50%, rgb(15 27 47 / 0.242) 60%, rgb(15 27 47 / 0.141) 70%, rgb(15 27 47 / 0.071) 80%, rgb(15 27 47 / 0.027) 90%, rgb(15 27 47 / 0) 100%);
}
.fsc-scene .device-mac::before { left: -2.5%; right: -2.5%; top: 100%; aspect-ratio: 105 / 4.8; translate: 0 -50%; opacity: 0.28; }
.fsc-scene .device-mac::after { left: -10%; right: -10%; top: 100%; aspect-ratio: 120 / 18; translate: 0 -55.6%; opacity: 0.13; }
.fsc-scene .device-phone::before,
.fsc-scene .device-phone::after {
  --erf: rgb(15 27 47 / 0) 0, rgb(15 27 47 / 0.0062) calc(var(--s) * 0.5), rgb(15 27 47 / 0.0228) var(--s), rgb(15 27 47 / 0.0668) calc(var(--s) * 1.5), rgb(15 27 47 / 0.1587) calc(var(--s) * 2), rgb(15 27 47 / 0.3085) calc(var(--s) * 2.5), rgb(15 27 47 / 0.5) calc(var(--s) * 3), rgb(15 27 47 / 0.6915) calc(var(--s) * 3.5), rgb(15 27 47 / 0.8413) calc(var(--s) * 4), rgb(15 27 47 / 0.9332) calc(var(--s) * 4.5), rgb(15 27 47 / 0.9772) calc(var(--s) * 5), rgb(15 27 47 / 0.9938) calc(var(--s) * 5.5), rgb(15 27 47) calc(var(--s) * 6), rgb(15 27 47) calc(100% - var(--s) * 6), rgb(15 27 47 / 0.9938) calc(100% - var(--s) * 5.5), rgb(15 27 47 / 0.9772) calc(100% - var(--s) * 5), rgb(15 27 47 / 0.9332) calc(100% - var(--s) * 4.5), rgb(15 27 47 / 0.8413) calc(100% - var(--s) * 4), rgb(15 27 47 / 0.6915) calc(100% - var(--s) * 3.5), rgb(15 27 47 / 0.5) calc(100% - var(--s) * 3), rgb(15 27 47 / 0.3085) calc(100% - var(--s) * 2.5), rgb(15 27 47 / 0.1587) calc(100% - var(--s) * 2), rgb(15 27 47 / 0.0668) calc(100% - var(--s) * 1.5), rgb(15 27 47 / 0.0228) calc(100% - var(--s)), rgb(15 27 47 / 0.0062) calc(100% - var(--s) * 0.5), rgb(15 27 47 / 0) 100%;
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, var(--erf));
  -webkit-mask: linear-gradient(180deg, var(--erf));
  mask: linear-gradient(180deg, var(--erf));
}
.fsc-scene .device-phone::before { --s: 1.25em; inset: -1.65em -3.15em -4.65em; opacity: 0.3; }
.fsc-scene .device-phone::after { --s: 2.6em; inset: -2.6em -6.2em -9.8em; opacity: 0.14; }

/* Caption. The name is the link, and its ::after covers the tile, so the whole tile opens the case study, or for Walnut Ventures its own site in a new tab. Maridea Wealth Management has no link until it launches, so its tile has nothing to focus and shows its status in place of the cue. */
.fsc-name { font-size: clamp(1.1875rem, 1.5vw, 1.375rem); font-weight: 560; letter-spacing: -0.018em; line-height: 1.3; }
.fsc-link { color: var(--ink); text-decoration: none; }
.fsc-link::after { content: ""; position: absolute; inset: 0; z-index: 3; border-radius: var(--r-md); }
.fsc-link:focus-visible { outline: none; }
.fsc-link:focus-visible::after { outline: 2px solid var(--gold-ink); outline-offset: 6px; }
.fsc-desc { margin-top: 0.5rem; max-width: 34em; font-size: 0.9375rem; line-height: 1.55; color: var(--ink-3); text-wrap: pretty; }
.fsc-cue { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: 0.85rem; font-size: 0.9375rem; font-weight: 560; line-height: 1.4; color: var(--ink); }
.fsc-cue span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgb(15 27 47 / 0.3); transition: text-decoration-color 0.2s ease; }
.fsc-tile:hover .fsc-cue span { text-decoration-color: var(--ink); }
.fsc-cue .button-icon { width: 0.95rem; }
/* The new-tab arrow is square, so it runs smaller to match the other arrows' weight */
.fsc-cue .fsc-ext { width: 0.75rem; }
.fsc-status { margin-top: 0.85rem; font-size: 0.9375rem; font-weight: 560; line-height: 1.4; color: var(--ink-3); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fsc-tile:hover .fsc-cue .button-icon { transform: translateX(3px); }
  .fsc-tile:hover .fsc-cue .fsc-ext { transform: translate(2px, -2px); }
}

/* 760px and up: 3 rows on 1 scale, large and small tiles alternating. 1u is 1/120 of the row, and the gap is 3u. Each tile spans 2 rows of the grid (drawing, caption), so the MacBooks in a row stand on 1 line and the captions start on 1 line. */
@media (min-width: 760px) {
  .fsc-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: calc(var(--u) * 3); }
  .fsc-tile { display: grid; grid-template-rows: subgrid; }
  .fsc-tile:nth-child(1) { grid-area: 1 / 1 / span 2 / span 7; }
  .fsc-tile:nth-child(2) { grid-area: 1 / 8 / span 2 / span 5; }
  .fsc-tile:nth-child(3) { grid-area: 3 / 1 / span 2 / span 5; }
  .fsc-tile:nth-child(4) { grid-area: 3 / 6 / span 2 / span 7; }
  .fsc-scene { align-self: end; }
  .fsc-tile:nth-child(n+3) .fsc-scene { margin-top: clamp(3.75rem, 7vw, 6.5rem); }
  .fsc-tile--lg .fsc-scene { font-size: calc(var(--u) * 68.75 / 67.5); }
  .fsc-tile--sm .fsc-scene { font-size: calc(var(--u) * 48.25 / 67.5); }
  /* Clears the large tiles' iPhone, which ends 3.7em below its MacBook */
  .fsc-cap { align-self: start; margin-top: calc(var(--u) * 3.9 + 1.25rem); }
  /* Row 3 repeats row 1: Maridea Wealth Management large on the left, Walnut Ventures small on the right */
  .fsc-tile:nth-child(5) { grid-area: 5 / 1 / span 2 / span 7; }
  .fsc-tile:nth-child(6) { grid-area: 5 / 8 / span 2 / span 5; }
}

/* Under 760px: a swipe track, the same pattern as the home page's phone track (Trevor, Sep 30: smaller slides, so more shows on a phone). Each slide uses the case pages' phone-forward drawing, and the next slide peeks in. The gap equals the side rail, so a slide that snaps into place leaves no sliver of the one before it at the screen edge. */
@media (max-width: 759.98px) {
  .fsc-grid { display: flex; gap: var(--rail); margin-inline: calc(var(--rail) * -1); padding: 0.5rem var(--rail) 1.25rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--rail); scrollbar-width: none; }
  .fsc-grid::-webkit-scrollbar { display: none; }
  .fsc-tile { flex: none; width: min(76vw, 300px); scroll-snap-align: start; }
  .fsc-scene { width: 42.5em; height: 47.5em; font-size: calc(min(76vw, 300px) / 42.5); }
  .fsc-scene .device-mac { position: absolute; left: 11.5em; top: 0; width: 31em; }
  .fsc-scene .device-phone { left: 0.5em; top: 9.5em; width: 18.4em; }
  .fsc-scene--solo .device-mac { left: 0; top: 9em; width: 42.5em; }
  .fsc-cap { margin-top: 1.25rem; }
}
