/* Closure composition: keep related content on one surface, not empty bands. */
.system .problem{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:64px;align-items:center;padding:0;margin-bottom:40px}
.system .problem .section-head{margin:0}.system .problem .section-head p{font-size:18px;line-height:1.7}.system .problem .audience{font-size:15px;color:var(--muted);margin-top:18px}
.system .problem-comparison{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:24px 0;font-size:clamp(22px,2.2vw,30px);line-height:1.35;font-family:Manrope,sans-serif;font-weight:650}
.system .problem-comparison>span{transform:rotate(90deg);font-size:26px}.system-explanation{font-size:clamp(21px,2.3vw,30px);font-family:Manrope,sans-serif;color:var(--ink);line-height:1.5;max-width:900px;margin:0 0 36px}
.system .nds-system{border-radius:20px}.system .payroll-note{font-size:14px;max-width:900px;margin-top:24px;color:var(--muted)}
.nd-news__head{margin-bottom:0}.nd-news__item{border-radius:18px;overflow:hidden;background:var(--surface);margin:0}.nd-news__visual{display:block;color:inherit;text-decoration:none;border-radius:0}.nd-news__visual:focus-visible{outline:3px solid var(--blue);outline-offset:-5px}.nd-news__story{padding:28px 32px 32px;background:transparent}.nd-news__story>div{max-width:900px}.nd-news__type{margin-bottom:12px}.nd-news__summary{max-width:800px}
/* Both existing portraits stay in flow. Disclosure motion belongs only to each bio. */
.booking{background:var(--canvas)}.booking .booking-shell{padding:0;min-height:0;background:transparent;border-radius:0;max-width:1120px;margin-inline:auto}
.booking-lead{font:650 clamp(24px,2.6vw,36px)/1.3 Manrope,sans-serif;color:var(--ink);margin-bottom:12px}
.booking [data-cal-status]{font-size:14px;margin:0 0 12px;color:var(--muted)}
.booking [data-cal-container],.booking[data-booking-state=idle] [data-cal-container]{height:380px;min-height:0}
.booking [data-cal-container] iframe{width:100%;height:100%;min-height:0}
.booking[data-booking-state=error] [data-cal-container]{display:none;height:auto;min-height:0}
.booking-service{font-size:14px;color:var(--muted);margin-top:12px}.booking-service a{margin-left:12px}
html:not(.js) .booking [data-cal-container]{display:none}
.ndf[data-founder-pair] .ndf__scene{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;align-items:start}
.ndf[data-founder-pair] .ndf__slide{grid-area:auto;display:grid;grid-template-columns:minmax(0,1fr);visibility:visible;pointer-events:auto;margin:0;align-items:start;row-gap:24px}
.ndf[data-founder-pair] .ndf__portrait{grid-column:1;grid-row:1;width:100%;aspect-ratio:1;align-self:start}
.ndf[data-founder-pair] button.ndf__portrait{display:block;border:0;padding:0;border-radius:20px;background:transparent;line-height:0;cursor:pointer;text-align:initial;color:inherit}
.ndf[data-founder-pair] button.ndf__portrait:disabled{cursor:default}
.ndf[data-founder-pair] .ndf__identity{grid-column:1;grid-row:2;flex-wrap:wrap;gap:16px;align-self:start}
.ndf[data-founder-pair] .ndf__mask{grid-column:1;grid-row:1;align-self:end;width:calc(100% - 24px);justify-self:center;margin:0;max-height:none}
.ndf[data-founder-pair] .ndf__card{padding:28px;color:var(--body)}
.ndf[data-founder-pair]:not([data-ready]) .ndf__mask{grid-row:3;width:100%;clip-path:none}
.ndf[data-founder-pair] h3{font-size:clamp(24px,2.2vw,30px)}
/* One lifecycle-controlled CSS perimeter; no pointer or focus target, no per-card RAF. */
@property --shine-angle{syntax:'<angle>';inherits:false;initial-value:0deg}
[data-shine]{position:relative;--shine-color:light-dark(#4484baaa,#84c7ff)}
[data-shine]::after{content:'';position:absolute;inset:0;border-radius:inherit;padding:1.5px;pointer-events:none;background:conic-gradient(from var(--shine-angle),transparent 62%,var(--shine-color) 79%,transparent 94%);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask-composite:exclude;z-index:3;animation:card-perimeter 9s linear infinite;animation-play-state:paused}
[data-shine][data-shine-view=true]::after{animation-play-state:running}
html[data-motion=paused] [data-shine]::after,html[data-shine-hidden=true] [data-shine]::after{animation-play-state:paused}
@keyframes card-perimeter{to{--shine-angle:360deg}}
[data-theme=dark] :is(.nf-card,.ndf__card,.nds-hub,.connector-tile,.nd-news__item){box-shadow:0 0 0 1px #6ca7d82e,0 12px 42px #369cf221}
[data-theme=dark] .fibre-canvas{filter:drop-shadow(0 0 6px #4e9aff77)}
[data-theme=dark] .nds-pulse{filter:drop-shadow(0 0 3px #92caff)}
@media(max-width:900px){.system .problem{gap:32px}.ndf[data-founder-pair] .ndf__scene{gap:28px}.ndf[data-founder-pair] .ndf__card{padding:24px}}
@media(max-width:700px){.system .problem{grid-template-columns:1fr;gap:24px;margin-bottom:28px}.system .problem-comparison{padding:0;font-size:23px}.system .problem .section-head p{font-size:16px}.system-explanation{font-size:23px;margin-bottom:28px}.nd-news__story{padding:24px}.ndf[data-founder-pair] .ndf__scene{grid-template-columns:1fr;gap:48px}.ndf[data-founder-pair] .ndf__identity{order:initial;padding:0}.ndf[data-founder-pair] .ndf__mask{grid-row:3;width:100%;margin:0}.ndf[data-founder-pair][data-ready] .ndf__mask{max-height:0}.ndf[data-founder-pair][data-ready] .ndf__slide[data-open] .ndf__mask{max-height:var(--ndf-bio-height);clip-path:none}.ndf[data-founder-pair] .ndf__card{height:auto;padding:24px 20px}.system .nds-system{border-radius:14px}}
@media(prefers-reduced-motion:reduce){[data-shine]::after{animation:none;background:var(--shine-color)}}
