/* Shared details for the About page and its printable companion. */
.resume-surface { position:relative; border-radius:0; margin-top:24px; }
.resume-surface::before { content:''; position:absolute; bottom:calc(100% - 1px); left:0; right:0; height:32px; background:url('assets/brand/soft-section-edge.svg') center/100% 100% no-repeat; pointer-events:none; }
.skill-tags li { background:#783a2b; color:#f6f2e8; }
.resume-card { position:relative; }
.resume-card h2::after { content:''; display:block; width:64px; height:9px; margin-top:8px; background:url('assets/brand/signoff-squiggle.svg') center/contain no-repeat; }
.skills h2::after,.interests h2::after { background-color:var(--paper); background-image:none; mask:url('assets/brand/signoff-squiggle.svg') center/contain no-repeat; -webkit-mask:url('assets/brand/signoff-squiggle.svg') center/contain no-repeat; opacity:.8; }
.education::after,.approach::after { content:''; position:absolute; top:16px; right:16px; width:17px; height:17px; background:url('assets/brand/ink-accent.svg') center/contain no-repeat; transform:rotate(-12deg); pointer-events:none; }
.resume-card .bio-kicker { padding-right:22px; }
.email-icon { display:inline-block; flex:0 0 auto; width:1.15em; height:1.15em; margin-right:.45em; vertical-align:-.2em; background:currentColor; mask:url('assets/brand/email-outline.svg') center/contain no-repeat; -webkit-mask:url('assets/brand/email-outline.svg') center/contain no-repeat; }
@media print {
 .resume-surface { margin-top:15px; }
 .resume-surface::before { height:22px; }
 .resume-card h2::after { width:48px; height:6px; margin-top:5px; }
 .full-about .resume-surface { margin-top:0; }
 .full-about .resume-surface::before,.full-about .resume-card::after,.full-about .resume-card h2::after { display:none; }
}

/* The same cream experience accent on both versions. */
.experience h2::after { background:var(--paper); mask:url('assets/brand/signoff-squiggle.svg') center/contain no-repeat; -webkit-mask:url('assets/brand/signoff-squiggle.svg') center/contain no-repeat; }

/* Shared card treatments keep the About view and résumé consistent. */
.resume-card.education { background:#f6f2e8; color:#283f35; }
.resume-card.experience { background:#909e7d; color:#142219; }
.resume-card.approach { background:#dce2cf; color:#283f35; }
.resume-card.skills { background:#a65436; color:#f6f2e8; }
.resume-card.recognition { background:#e9ddca; color:#283f35; }
.resume-card.interests { background:transparent; color:#f6f2e8; }
.resume-card h2 { font-weight:500; }
@media screen { .full-about .resume-card { border-radius:17px 12px 20px 13px; } }

/* Standalone portrait component: no homepage grid names or percentage sizing. */
.bio-portrait { --flower-size:460px; --photo-width:270px; --photo-height:324px; min-width:0; display:flex; align-items:center; justify-content:center; }
.bio-flower-stage { position:relative; isolation:isolate; display:flex; align-items:center; justify-content:center; flex:0 0 auto; width:var(--flower-size); height:var(--flower-size); margin:0; padding:0; }
.bio-flower-stage::before { content:''; position:absolute; inset:0; z-index:-1; background:#a65436; mask:url('assets/brand/ink-accent.svg') center/contain no-repeat; -webkit-mask:url('assets/brand/ink-accent.svg') center/contain no-repeat; pointer-events:none; }
.bio-portrait-photo { position:relative; flex:0 0 auto; width:var(--photo-width); height:var(--photo-height); margin:0; padding:0; background:#283f35; mask:url('assets/brand/process-blob.svg') center/100% 100% no-repeat; -webkit-mask:url('assets/brand/process-blob.svg') center/100% 100% no-repeat; }
.bio-portrait-photo img { position:absolute; inset:4% 0 0; display:block; width:100%; height:96%; object-fit:contain; object-position:center bottom; }
.resume-sheet .bio-portrait { --flower-size:260px; --photo-width:166px; --photo-height:200px; }
@media screen {
 .full-about .bio-hero { grid-template-columns:minmax(0,1fr) 460px; gap:64px; }
}
@media screen and (max-width:1100px) {
 .full-about .bio-hero { grid-template-columns:1fr; gap:40px; }
 .full-about .bio-portrait { --flower-size:360px; --photo-width:220px; --photo-height:264px; }
}
@media screen and (max-width:400px) {
 .full-about .bio-portrait { --flower-size:290px; --photo-width:185px; --photo-height:222px; }
}
@media print {
 .resume-sheet .bio-portrait { --flower-size:220px; --photo-width:145px; --photo-height:174px; }
}

/* A compact Letter layout keeps the complete experience card on one sheet. */
@media print {
 .resume-sheet .resume-intro { min-height:0; padding:12px 22px 16px; gap:22px; }
 .resume-sheet .bio-intro>p:not(.bio-kicker):not(.bio-lead):not(.resume-contact) { display:none; }
 .resume-sheet .bio-intro h1 { font-size:34px; margin:8px 0 12px; }
 .resume-sheet .bio-intro .bio-lead { font-size:11px; }
 .resume-sheet .bio-portrait { --flower-size:160px; --photo-width:108px; --photo-height:130px; padding:0; }
 .resume-sheet .resume-surface { margin-top:12px; padding:14px; }
 .resume-sheet .resume-grid { gap:12px; }
 .resume-sheet .resume-column { gap:10px; }
 .resume-sheet .resume-card { padding:12px; break-inside:avoid; }
 .resume-sheet .resume-card h2 { margin:4px 0 10px; font-size:20px; }
 .resume-sheet .resume-card p { margin:4px 0 7px; line-height:1.45; }
 .resume-sheet .resume-card .resume-role { margin:2px 0; }
 .resume-sheet .resume-card .resume-date { margin:2px 0 5px; }
 .resume-sheet .resume-card article+article { margin-top:10px; }
 .resume-sheet .resume-card p:last-child { margin-bottom:0; }
 .resume-sheet .skill-tags { gap:4px; }
 .resume-sheet .skill-tags li { padding:4px 6px; }
}
