/* Visual explanations: fictional records, a visible change, and the resulting work. */
.hub-client-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 4vw, 60px); margin: 30px 0 55px; }
.hub-client-showcase__copy h2 { color: #304a38; font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.1; letter-spacing: -.035em; }
.hub-client-showcase__copy p { color: #586b59; line-height: 1.75; margin-bottom: 24px; }
.hub-story { margin: 0; min-width: 0; padding: clamp(18px, 2.2vw, 30px); background: #213d33; border-color: #213d33; border-radius: 24px; box-shadow: 0 22px 54px #213d3326; color: #f6faf4; }
.hub-story__top { display: flex; align-items: center; gap: 9px; color: #d6e5d6; font-size: .68rem; font-weight: 700; letter-spacing: .13em; }
.hub-story__dot { width: 7px; height: 7px; border-radius: 50%; background: #d9c17e; flex-shrink: 0; }
.hub-story__records { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 25px 0 0; }
.hub-record { display: flex; flex-direction: column; gap: 9px; padding: 18px 15px; border: 1px solid #e1e7de; border-radius: 11px; background: #f8faf5; color: #263d32; box-shadow: 0 5px 10px #00000012; }
.hub-record--mail { transform: rotate(-3deg); }
.hub-record--note { transform: rotate(2deg); background: #eee9cf; }
.hub-record--calendar { transform: rotate(-1deg); }
.hub-record--update { transform: rotate(3deg); background: #ffe5b3; border-color: #f7c976; }
.hub-record__type { display: flex; align-items: center; gap: 6px; font-size: .65rem; font-weight: 700; }
.hub-record__type svg, .hub-paper__label svg, .hub-update__heading svg { width: 19px; height: 19px; flex-shrink: 0; }
.hub-record strong { font-size: .93rem; line-height: 1.35; }
.hub-record > span:last-child { font-size: .68rem; line-height: 1.5; }
.hub-record__flag { color: #71521f; font-weight: 700; }
.hub-story__join { display: flex; align-items: center; justify-content: center; gap: 12px; height: 40px; color: #d3e3cc; }
.hub-story__join span { width: 30%; height: 1px; background: #72917b; }
.hub-story__join b { font-size: 24px; font-weight: 400; }
.hub-story__answer { padding: 21px; background: #fff; color: #283e33; border-radius: 12px; }
.hub-story__answer-label { display: flex; align-items: center; gap: 7px; font-size: .73rem; font-weight: 700; }
.hub-story__answer-label > span:last-child { margin-left: auto; color: #607265; font-size: .65rem; font-weight: 500; }
.hub-story__monogram { display: grid; place-items: center; background: #e4eddf; border-radius: 6px; width: 24px; height: 24px; font-family: Georgia, serif; font-size: 17px; }
.hub-story__answer h3 { margin: 17px 0 9px; font-size: 1.25rem; line-height: 1.22; letter-spacing: -.03em; }
.hub-story__answer p { margin: 0; color: #526157; font-size: .85rem; line-height: 1.65; }
.hub-story__answer p strong { color: #263d32; background: #e8efdf; }
.hub-story__sources { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; font-size: .67rem; color: #49614e; }
.hub-story__sources span { padding: 4px 7px; background: #f0f5ed; border-radius: 5px; }
.hub-story__try { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding: 6px 0; color: #f5e2ac; font-size: .82rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.hub-story__try:hover { color: #fff; }
.hub-story figcaption { color: #c3d2c8; font-size: .66rem; line-height: 1.5; padding-top: 13px; text-align: center; }

.hub-examples { width: 100%; max-width: 1440px; min-width: 0; margin: 0 auto 34px; padding: clamp(24px, 4.5vw, 64px); border: 1px solid #dce4d9; border-radius: 24px; background: #fff; }
.hub-section-heading { max-width: 760px; }
.hub-section-heading h2 { margin: 12px 0 17px; color: #273e32; font-size: clamp(2rem, 3.8vw, 3.65rem); line-height: 1.05; letter-spacing: -.045em; }
.hub-section-heading h2 em { color: #647d55; font-style: normal; }
.hub-section-heading > p { color: #5f6e62; max-width: 550px; line-height: 1.65; }
#missing-pieces-title { scroll-margin-top: 120px; }
.hub-scenarios { display: flex; flex-wrap: wrap; gap: 9px; margin: 25px 0; }
.hub-scenarios button { border: 1px solid #b8c6b7; border-radius: 999px; padding: 12px 19px; background: #fff; color: #354b3a; font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; min-height: 44px; transition: background .16s, color .16s; }
.hub-scenarios button[aria-pressed="true"] { background: #354f3c; color: #fff; border-color: #354f3c; }
.hub-scenarios button:hover { box-shadow: inset 0 0 0 1px #6a815c; }
.hub-examples button:focus-visible, .hub-examples summary:focus-visible, .hub-story__try:focus-visible { outline: 3px solid #b77b28; outline-offset: 4px; }
.hub-examples [hidden] { display: none !important; }
.hub-scenario { background: #f4f7f0; border: 1px solid #e0e7db; border-radius: 18px; padding: clamp(18px, 3vw, 35px); margin-top: 20px; }
.hub-question { margin: 0 0 27px; color: #2e4234; font-size: clamp(1.05rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.45; letter-spacing: -.02em; }
.hub-question > span { color: #829570; }
.hub-scenario__workspace { display: grid; grid-template-columns: minmax(0, 1fr) 38px minmax(0, 1fr); gap: 20px; align-items: start; }
.hub-step-label { display: block; color: #5c6e56; font-size: .64rem; font-weight: 700; letter-spacing: .13em; margin-bottom: 15px; }
.hub-paper { position: relative; border: 1px solid #dce1d5; border-radius: 9px; padding: 20px 22px; background: #fff; box-shadow: 0 5px 0 -2px #e5e9df, 0 6px 0 -2px #cbd6c3; }
.hub-paper__label { display: flex; align-items: center; gap: 7px; color: #66725e; font-size: .76rem; margin-bottom: 12px; }
.hub-paper > strong, .hub-update > strong { display: block; font-size: 1.1rem; line-height: 1.4; color: #304433; }
.hub-paper p, .hub-update p { font-size: .87rem; line-height: 1.6; color: #58674e; margin: 9px 0; }
.hub-paper__lines { display: flex; flex-direction: column; gap: 6px; margin-top: 17px; }
.hub-paper__lines i { display: block; height: 4px; background: #eef0e9; width: 76%; border-radius: 2px; }
.hub-paper__lines i:last-child { width: 52%; }
.hub-update { margin: 20px 0 0 20px; padding: 18px 21px; background: #fff3d9; border: 1px solid #ddbb7b; border-radius: 10px; transition: background .18s, border-color .18s; }
.hub-update__heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 7px; margin-bottom: 14px; color: #79602e; font-size: .7rem; }
.hub-update__heading > span:first-child { display: flex; align-items: center; gap: 7px; }
.hub-update__heading > span:last-child { border-radius: 20px; padding: 3px 7px; background: #f8e4b9; font-size: .64rem; font-weight: 700; }
.hub-update small { color: #72664c; font-size: .68rem; }
.hub-update__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; margin-top: 17px; border: 1px solid #354f3c; border-radius: 7px; padding: 12px; background: #354f3c; color: #fff; font: inherit; font-size: .79rem; font-weight: 600; cursor: pointer; min-height: 44px; }
.hub-update__toggle:hover { background: #233c2b; }
.hub-scenario[data-included="true"] .hub-update { background: #e9f0e2; border-color: #9ab087; }
.hub-scenario[data-included="true"] .hub-update__heading { color: #455e38; }
.hub-scenario[data-included="true"] .hub-update__heading > span:last-child { background: #d7e6c8; }
.hub-scenario[data-included="true"] .hub-update__toggle { background: #fff; color: #354f3c; }
.hub-scenario__arrow { align-self: center; font-size: 30px; color: #839576; }
.hub-result { min-height: 384px; padding: clamp(22px, 3vw, 35px); background: #fff; border: 1px solid #dce3d6; border-top: 4px solid #b6bfae; border-radius: 12px; }
.hub-result__status { display: inline-block; font-size: .7rem; color: #71694e; background: #f5efde; padding: 5px 9px; border-radius: 6px; }
.hub-result h4 { color: #31432e; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.17; letter-spacing: -.025em; margin: 24px 0 16px; }
.hub-result > p { color: #58664f; line-height: 1.7; font-size: .91rem; }
.hub-result__gap { border-top: 1px dashed #d1d9c8; margin-top: 32px; padding-top: 23px; font-size: .82rem; color: #6c705d; line-height: 1.6; }
.hub-result__gap > span { display: inline-block; font-size: 22px; margin-right: 5px; }
.hub-scenario[data-included="true"] .hub-result { border-top-color: #64854c; }
.hub-result__status[data-stage="after"] { color: #466037; background: #e6efdc; }
.hub-result__change { margin: 20px 0; font-size: clamp(1.1rem, 2vw, 1.75rem); font-weight: 700; color: #3d632e; letter-spacing: -.025em; }
.hub-result__next { padding-top: 17px; border-top: 1px solid #e0e6d9; }
.hub-result__next span { display: block; margin-bottom: 6px; font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; color: #677a58; }
.hub-result__next strong { font-size: .86rem; color: #384e2f; font-weight: 600; line-height: 1.55; }
.hub-source-detail { border-top: 1px solid #dbe3d2; padding-top: 17px; margin-top: 24px; color: #455f37; font-size: .83rem; }
.hub-source-detail summary { cursor: pointer; padding: 8px 0; min-height: 44px; }
.hub-source-detail p { max-width: 850px; color: #556a48; line-height: 1.7; margin: 6px 0; }
.hub-illustration-note { color: #67715f; font-size: .73rem; line-height: 1.65; max-width: 920px; margin: 19px 0 0; }

@media (max-width: 1099px) {
    .hub-story { width: 100%; max-width: 700px; justify-self: center; }
}
@media (max-width: 760px) {
    .hub-scenario__workspace { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .hub-scenario__arrow { transform: rotate(90deg); justify-self: center; font-size: 28px; }
    .hub-scenario__arrow { height: 32px; }
    .hub-result { min-height: 0; }
    .hub-scenarios { gap: 7px; }
    .hub-scenarios button { flex: 1 1 auto; font-size: .77rem; padding: 10px 13px; }
    .hub-update { margin-left: 10px; }
    .hub-client-showcase { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
    .hub-story { padding: 18px 14px; }
    .hub-record { padding: 13px 10px; gap: 7px; }
    .hub-record__type { font-size: .6rem; line-height: 1.5; }
    .hub-record__type svg { display: none; }
    .hub-record strong { font-size: .8rem; }
    .hub-story__records { gap: 10px; }
    .hub-story__top { font-size: .59rem; letter-spacing: .07em; }
    .hub-story__answer { padding: 17px; }
    .hub-story__answer-label > span:last-child { display: none; }
    .hub-story__answer h3 { font-size: 1.2rem; }
    .hub-examples { padding: 26px 15px; }
    .hub-scenario { padding: 18px 13px; }
    .hub-question { font-size: 1.05rem; }
    .hub-paper, .hub-update { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .hub-examples * { transition: none !important; animation: none !important; }
}
