/* Architecture thesis story: plain white, like the other project pages. Pink (and slate/sky) only as small accents. */
.thesis-story{--rose:#FF999A;--slate:#ADB3C9;--sky:#90C5F2;--deep:#C88888;--ink:#111}
.thesis-story .ts-item{margin:0 0 84px}
.thesis-story .ts-item .story-image{margin:0}
.thesis-story .ts-cap{margin:14px 0 0;padding:0 var(--gutter);font:13px/1.6 var(--font-sans);color:#59564f;max-width:900px}
.thesis-story .ts-cap::before{content:"";display:inline-block;width:8px;height:8px;margin-right:10px;background:var(--rose);vertical-align:baseline}
.thesis-story .story-pair{align-items:start}
.thesis-story .story-pair .ts-item{margin:0}
.thesis-story .story-pair .ts-cap{padding:0}
.thesis-story .ts-narrow-img .story-image-view,.thesis-story .ts-item>.ts-narrow-img{max-width:1100px;margin-inline:auto}
.thesis-story .ts-item>.ts-narrow-img{padding:0 var(--gutter)}
.thesis-story .ts-kicker{display:flex;align-items:center;gap:12px;margin:0 0 18px;font:13px/1.4 var(--font-sans);color:#59564f}
.thesis-story .ts-kicker::before{content:"";width:28px;height:4px;background:var(--rose)}
.thesis-story .ts-list{margin:0 0 22px;padding-left:20px;font:17px/1.85 var(--font-sans);letter-spacing:-.012em;color:#59564f}
.thesis-story .ts-list li{margin:0 0 8px}
.thesis-story .ts-list strong{color:#24231f;font-weight:600}
.thesis-story .ts-deck2{margin-top:14px}
.thesis-story .ts-chapters{display:flex;flex-wrap:wrap;gap:8px;margin:34px 0 0;padding:0;list-style:none}
.thesis-story .ts-chapters a{display:inline-block;padding:8px 14px;border:1px solid #d9d6cf;border-bottom:3px solid var(--rose);font:13px/1 var(--font-sans);text-decoration:none;background:#fff;color:var(--ink)}
.thesis-story .ts-chapters a:hover{background:var(--rose)}
.thesis-story .ts-chapters a:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
/* small cards */
.thesis-story .ts-cards-wrap{max-width:1120px;margin:0 auto 100px;padding:0 40px}
.thesis-story .ts-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:14px}
.thesis-story .ts-card{margin:0;background:#fff;border:1px solid #e3e0d9;height:100%}
.thesis-story .ts-card a{display:block;aspect-ratio:4/3;background:#f4f3f0;overflow:hidden}
.thesis-story .ts-card img{display:block;width:100%;height:100%;object-fit:cover}
.thesis-story .ts-card figcaption{padding:10px 11px 12px;font:12px/1.5 var(--font-sans);color:#59564f}
.thesis-story .ts-chip{display:inline-block;margin:0 0 7px;padding:3px 8px;font:11px/1.3 var(--font-sans);color:var(--ink);background:var(--rose);border-radius:999px}
.thesis-story .ts-chip--rose{background:var(--rose)}
.thesis-story .ts-chip--sky{background:var(--sky)}
.thesis-story .ts-chip--slate{background:var(--slate)}
.thesis-story .ts-chip--ai{background:#fff;border:1px solid var(--ink)}
.thesis-story .ts-chip{display:table}
.thesis-story .ts-sub{display:block;color:#77736d}
/* ideas + info */
.thesis-story .ts-block{max-width:1120px;margin:0 auto 100px;padding:0 40px}
.thesis-story .ts-h3{font:var(--heading-weight) 28px/1.2 var(--heading-font);letter-spacing:var(--heading-tracking);margin:0 0 24px}
.thesis-story .ts-ideas{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.thesis-story .ts-ideas li{border:1px solid #e3e0d9;border-top:4px solid var(--rose);padding:22px 24px;background:#fff}
.thesis-story .ts-ideas li:nth-child(2){border-top-color:var(--slate)}
.thesis-story .ts-ideas li:nth-child(3){border-top-color:var(--sky)}
.thesis-story .ts-ideas h3{font:var(--heading-weight) 22px/1.2 var(--heading-font);margin:0 0 12px}
.thesis-story .ts-ideas dl{margin:0}
.thesis-story .ts-ideas dt{font:11px/1.4 var(--font-sans);text-transform:uppercase;letter-spacing:.08em;color:#77736d;margin-top:12px}
.thesis-story .ts-ideas dd{margin:2px 0 0;font:15px/1.65 var(--font-sans);color:#3b3a36}
.thesis-story .ts-info{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:0;padding:18px 0 0;border-top:1px solid #e3e0d9}
.thesis-story .ts-info dt{font:11px/1.4 var(--font-sans);text-transform:uppercase;letter-spacing:.08em;color:#77736d}
.thesis-story .ts-info dd{margin:4px 0 0;font:19px/1.4 var(--font-sans)}
.thesis-story .ts-info div{border-left:4px solid var(--rose);padding-left:12px}
.thesis-story .ts-info div:nth-child(2){border-color:var(--slate)}
.thesis-story .ts-info div:nth-child(3){border-color:var(--sky)}
@media(max-width:900px){.thesis-story .ts-ideas{grid-template-columns:1fr}.thesis-story .ts-info{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 .thesis-story .ts-item{margin-bottom:56px}
 .thesis-story .ts-cards-wrap,.thesis-story .ts-block{padding:0 24px;margin-bottom:62px}
 .thesis-story .ts-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .thesis-story .story-pair .ts-cap{padding:0 24px}
}
@media(max-width:600px){.thesis-story .story-heading,.thesis-story .story-text,.thesis-story .story-text>p,.thesis-story .story-deck,.thesis-story h1,.thesis-story h2,.thesis-story .ts-cap,.thesis-story .ts-block,.thesis-story .ts-list{text-align:left}.thesis-story .ts-chapters{justify-content:flex-start}}

.thesis-story .ts-mark{display:flex;justify-content:center;padding:0 var(--gutter);margin:0 0 72px}
.thesis-story .ts-mark-art{position:relative;width:min(720px,100%)}
.thesis-story .ts-mark-art img{display:block;width:100%;height:auto}
.thesis-story .ts-sun{position:absolute;top:7%;right:19%;width:15%;aspect-ratio:1;border-radius:50%;background:#E9A646;opacity:.92;box-shadow:0 0 0 clamp(4px,1vw,9px) rgba(233,166,70,.35)}

.thesis-story .ts-card,.thesis-story .ts-ideas li,.thesis-story .ts-cards-wrap .ts-card a{border-radius:16px}
.thesis-story .ts-card{overflow:hidden}
.thesis-story .ts-ideas li{border-top-width:1px;box-shadow:inset 0 4px 0 var(--rose);overflow:hidden}
.thesis-story .ts-ideas li:nth-child(2){box-shadow:inset 0 4px 0 var(--slate)}
.thesis-story .ts-ideas li:nth-child(3){box-shadow:inset 0 4px 0 var(--sky)}
.thesis-story .ts-ideas li:nth-child(4){box-shadow:inset 0 4px 0 var(--rose)}
.thesis-story .ts-info div{border-radius:0}

.thesis-story .ts-idea-img{display:block;margin:-22px -24px 16px;aspect-ratio:16/10;overflow:hidden;background:#f4f3f0}
.thesis-story .ts-idea-img img{display:block;width:100%;height:100%;object-fit:cover}
.thesis-story .ts-ideas li{padding-top:22px}
.thesis-story .ts-ideas li .ts-idea-img{margin-top:0;margin-top:-22px}
.thesis-story .ts-idea-img{border-top:4px solid var(--rose)}
.thesis-story .ts-ideas li:nth-child(2) .ts-idea-img{border-top-color:var(--slate)}
.thesis-story .ts-ideas li:nth-child(3) .ts-idea-img{border-top-color:var(--sky)}
.thesis-story .ts-ideas li{box-shadow:none!important}

/* v10: no pills; one grid (1120px container, 40px inner padding); uniform image boxes */
.thesis-story .ts-chapters{gap:6px 22px}
.thesis-story .ts-chapters a{padding:0 0 3px;border:0;border-bottom:2px solid var(--rose);background:none;font:14px/1.4 var(--font-sans)}
.thesis-story .ts-chapters a:hover{background:none;border-bottom-color:var(--ink)}
.thesis-story .ts-chip{display:none}
.thesis-story .ts-cap{max-width:none;padding-left:max(var(--gutter),calc((100% - 1120px)/2 + 40px));padding-right:var(--gutter)}
.thesis-story .story-pair{max-width:1120px;margin:0 auto 84px;padding:0 40px;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.thesis-story .story-pair .ts-item .story-image-view{display:block;aspect-ratio:4/3;background:#f4f3f0}
.thesis-story .story-pair .ts-item img{width:100%;height:100%;object-fit:contain}
.thesis-story .story-pair .ts-cap{padding:0;margin-top:12px}
.thesis-story .ts-cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.thesis-story .ts-card a{aspect-ratio:4/3}
.thesis-story .ts-card--fit img{object-fit:contain;background:#f4f3f0}
.thesis-story .ts-card figcaption{padding:12px 14px 14px;min-height:64px}
.thesis-story .ts-ideas{gap:20px}
.thesis-story .ts-idea-img{aspect-ratio:16/10}
.thesis-story .ts-info{gap:20px}
@media(max-width:900px){.thesis-story .ts-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){
 .thesis-story .story-pair{grid-template-columns:1fr;padding:0 24px;gap:36px;margin-bottom:56px}
 .thesis-story .ts-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .thesis-story .ts-cap{padding-left:24px}
}

/* v12: smaller idea cards, little text */
.thesis-story .ts-ideas{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.thesis-story .ts-ideas li{padding:0 0 14px;border-radius:14px}
.thesis-story .ts-idea-img{margin:0 0 12px;aspect-ratio:4/3}
.thesis-story .ts-ideas h3{font-size:16px;margin:0 14px 4px}
.thesis-story .ts-ideas p{margin:0 14px;font:13px/1.5 var(--font-sans);color:#59564f}
@media(max-width:900px){.thesis-story .ts-ideas{grid-template-columns:repeat(2,minmax(0,1fr))}}
