/* Scoped to the two public pages. Shared header/footer and other pages stay unchanged. */
.profile-redesign{--pp-text:#12141b;--pp-muted:#7b8090;--pp-line:#e6e8ef;--pp-accent:#ff2448;background:#fff;color:var(--pp-text);padding-bottom:64px}
.profile-redesign,.profile-redesign *{box-sizing:border-box}
.profile-redesign .public-cover{min-height:0;height:300px;padding:0;background-color:#eef0f4;background-image:none;background-position:center;background-size:cover;border-bottom:1px solid #e6e8ef}
.profile-identity-shell{width:min(1180px,calc(100% - 64px));margin:0 auto;padding:0 0 30px;position:relative;display:flex;align-items:center;gap:24px}
.profile-redesign .public-cover__content{max-width:none;align-items:center;gap:26px;flex:1;min-width:0;margin-top:-32px}
.profile-redesign .public-avatar{width:126px;height:126px;flex-basis:126px;border:5px solid #fff;border-radius:28px;background:#fff;color:#ff2448;box-shadow:0 6px 24px #1018280d;align-self:flex-start}
.profile-redesign .public-avatar img{border-radius:23px;object-fit:cover;max-width:100%}
.profile-redesign .public-avatar--company img{padding:0;object-fit:cover;background:#fff}
.profile-redesign .public-identity{padding-top:56px;min-width:0;padding-bottom:0}
.profile-redesign .public-eyebrow{color:#ff2448;font-size:10px;font-weight:700;opacity:1;letter-spacing:.11em}
.profile-redesign .public-identity h1{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:clamp(26px,3vw,38px);line-height:1.15;letter-spacing:-.04em;margin:8px 0 10px;overflow-wrap:anywhere}
.profile-redesign .public-identity h1 i{font-size:15px;font-style:normal;background:#ff2448;color:white;width:23px;height:23px;border-radius:50%;display:grid;place-items:center}
.profile-redesign .public-identity p{font-size:15px;line-height:1.6;color:#555d6c;margin:0;max-width:660px;overflow-wrap:anywhere}
.profile-redesign .public-cover__meta{margin-top:12px;gap:12px}
.profile-redesign .public-cover__meta span{padding:0;border:0;background:none;color:#7b8090;font-size:12px;backdrop-filter:none}
.profile-redesign .work-status{font-size:9px;right:50%;transform:translateX(50%);bottom:-14px;max-width:190px;background:#edf9f1;color:#197a4d;border:3px solid #fff;box-shadow:0 2px 12px #10182808}
.profile-redesign .work-status--not_looking{color:#5c6170;background:#f0f1f5}
.profile-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:10px;max-width:380px;padding-top:30px}
.profile-actions form{margin:0;min-width:0}
.profile-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:11px 17px;border:1px solid #e0e3ea;border-radius:12px;background:#fff;color:#171c29;font:600 12px/1.4 Montserrat,sans-serif;text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s}
.profile-button:hover{background:#f6f7f9;border-color:#cbd0da}.profile-button--primary{background:#ff2448;color:#fff;border-color:#ff2448}.profile-button--primary:hover{background:#e91739;border-color:#e91739}.profile-button>span{background:#ffffff24;padding:2px 6px;border-radius:5px}
.profile-redesign .public-shell{width:min(1180px,calc(100% - 64px));padding-top:34px}
.profile-redesign .profile-nav-shell{padding-top:0}
.profile-tabs{display:flex;align-items:center;gap:32px;border-bottom:1px solid #e6e8ef;overflow-x:auto;overflow-y:hidden;padding:0 0 0;scrollbar-width:thin}
.profile-tabs a{display:block;flex-shrink:0;padding:18px 0;font-size:13px;font-weight:600;color:#777e8e;text-decoration:none;border-bottom:2px solid transparent;margin-bottom:0}
.profile-tabs a:first-child,.profile-tabs a:hover{color:#ff2448;border-color:#ff2448}
.profile-redesign .public-grid{grid-template-columns:minmax(0,1fr) 310px;gap:48px}
.profile-redesign .public-content{gap:36px;min-width:0}
.profile-redesign .public-aside{position:static;gap:18px;min-width:0}
.profile-redesign .public-card{border:0;border-radius:0;padding:0;box-shadow:none;background:#fff;min-width:0;scroll-margin-top:100px}
.profile-redesign .public-content>.public-card{padding-bottom:32px;border-bottom:1px solid #e6e8ef}
.profile-redesign .public-card h2{font-size:26px;letter-spacing:-.025em;margin-bottom:18px;line-height:1.3}
.profile-kicker{display:block;color:#9a9fab;font-size:10px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin-bottom:10px}
.profile-redesign .public-richtext{font-size:15px;line-height:1.9;color:#566071;overflow-wrap:anywhere}
.profile-redesign .public-aside>.public-card{padding:24px;background:#f7f8fa;border:1px solid #eef0f4;border-radius:18px}
.profile-redesign .public-aside .public-card h2{font-size:16px;margin-bottom:22px}
.profile-redesign .public-facts div{padding:13px 0;grid-template-columns:1fr 1.1fr;border-color:#e7eaf0;gap:12px}
.profile-redesign .public-facts dt,.profile-redesign .public-facts dd{font-size:12px;line-height:1.6;min-width:0}
.profile-redesign .public-facts dd{color:#313947}.profile-redesign .public-facts .public-accent{color:#ff2448}
.profile-redesign .public-links a{padding:12px 0;background:none;color:#303744;border-bottom:1px solid #e4e7ed;border-radius:0;font-size:12px}
.profile-redesign .public-links a span{white-space:normal;overflow-wrap:anywhere}
.profile-redesign .public-edit{border:1px solid #e0e3e9;background:white;color:#252c38;border-radius:11px;font-family:inherit;line-height:1.5;width:100%;cursor:pointer}
.profile-redesign .public-muted{font-size:13px;line-height:1.7;overflow-wrap:anywhere}
.profile-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:22px}
.profile-gallery figure{min-width:0;margin:0}.profile-image-link{display:block;overflow:hidden;border-radius:16px;background:#f0f2f6;border:1px solid #e8ebf0}
.profile-gallery img{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;transition:transform .2s}.profile-image-link:hover img{transform:scale(1.02)}
.profile-gallery figcaption{padding:15px 1px 0}.profile-gallery h3{font-size:15px;line-height:1.5;margin:0 0 7px;overflow-wrap:anywhere}.profile-gallery p{font-size:12px;line-height:1.8;color:#7b8090;margin:0 0 9px;overflow-wrap:anywhere}.profile-gallery figcaption a{font-size:12px;color:#ff2448;text-decoration:none;font-weight:600}
.profile-gallery--company{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.profile-gallery--company img{object-fit:cover;aspect-ratio:4/3}.profile-gallery--company figcaption{padding-top:10px}.profile-gallery--company h3{font-size:12px}
.profile-redesign .public-section-head{gap:16px;align-items:flex-start}.profile-redesign .public-section-head>span{width:auto;min-width:45px;background:#f2f4f7;color:#7b8090;font-weight:500;border-radius:7px;padding:0 8px;white-space:nowrap}
.profile-redesign .public-vacancies{gap:0}.profile-redesign .public-vacancies>a{border:0;border-radius:0;border-bottom:1px solid #e8ebf0;padding:22px 0;gap:16px}.profile-redesign .public-vacancies>a:last-child{border-bottom:0}.profile-redesign .public-vacancies>a:hover{transform:none;background:#fafbfc}.profile-redesign .public-vacancies strong{white-space:normal;overflow-wrap:anywhere;font-size:15px}.profile-redesign .public-vacancies small{white-space:normal;font-size:12px;line-height:1.5}.profile-redesign .public-vacancies b{font-size:12px;white-space:normal}.profile-redesign .public-vacancies i{background:#fff1f3;color:#ff2448}
.profile-redesign .public-timeline>div{border-left:1px solid #e1e5ec;padding:0 0 30px 26px;min-width:0;overflow-wrap:anywhere}.profile-redesign .public-timeline>div:before{background:#ff2448;box-shadow:0 0 0 2px #ffe1e7}.profile-redesign .public-timeline h3{font-size:16px;margin:8px 0}.profile-redesign .public-timeline strong{color:#303744;font-weight:600}.profile-redesign .public-timeline p{color:#616b7a;font-size:13px;line-height:1.85}.profile-redesign .public-timeline a,.profile-redesign .public-achievements a{color:#ff2448}.profile-redesign .public-achievements>div{min-width:0;overflow-wrap:anywhere}
.profile-redesign .public-tags{margin-top:0;gap:9px}.profile-redesign .public-tags span{font-size:12px;line-height:1.5;background:#f2f4f7;color:#515c70;border:1px solid #e5e8ee;padding:8px 12px;overflow-wrap:anywhere;max-width:100%}
.profile-redesign .portfolio-cta{margin-top:44px;border-radius:22px;background:#fff0f3;color:#171c29;padding:26px;gap:24px}.profile-redesign .portfolio-cta h2{font-size:23px;line-height:1.3}.profile-redesign .portfolio-cta p{color:#7b8090}.profile-redesign .portfolio-cta span{color:#ff2448}.profile-redesign .portfolio-cta a{background:#ff2448;color:#fff;border-radius:12px}.profile-redesign a:focus-visible,.profile-redesign button:focus-visible{outline:3px solid #ff244880;outline-offset:4px}
@media(max-width:1050px){.profile-redesign .public-grid{gap:28px;grid-template-columns:minmax(0,1fr) 280px}.profile-identity-shell{flex-wrap:wrap;gap:8px}.profile-actions{max-width:none;padding-top:10px;margin-left:152px;justify-content:flex-start}.profile-redesign .public-cover__content{flex-basis:100%}.profile-redesign .public-cover{height:220px}}
@media(max-width:800px){.profile-redesign .public-grid{grid-template-columns:1fr;gap:32px}.profile-redesign .public-aside{grid-template-columns:repeat(2,minmax(0,1fr));position:static}.profile-redesign .public-aside>form,.profile-redesign .public-aside>.public-edit{grid-column:1/-1}.profile-redesign .public-shell,.profile-identity-shell{width:calc(100% - 40px)}.profile-tabs{gap:24px}.profile-redesign .public-content{gap:28px}}
@media(max-width:540px){.profile-redesign{padding-bottom:32px}.profile-redesign .public-cover{height:160px}.profile-redesign .public-shell,.profile-identity-shell{width:calc(100% - 32px)}.profile-redesign .public-cover__content{flex-direction:row;align-items:flex-start;gap:16px;margin-top:-27px}.profile-redesign .public-avatar{width:90px;height:90px;flex-basis:90px;border-radius:23px}.profile-redesign .public-avatar img{border-radius:18px}.profile-redesign .public-identity{padding-top:42px}.profile-redesign .public-identity h1{font-size:25px;margin:6px 0 8px}.profile-redesign .public-identity p{font-size:12px;line-height:1.6}.profile-redesign .public-eyebrow{font-size:8px}.profile-redesign .public-cover__meta{gap:7px}.profile-redesign .public-cover__meta span{font-size:10px}.profile-redesign .work-status{font-size:8px;max-width:145px;bottom:-12px}.profile-actions{margin-left:0;gap:8px;padding-top:14px;width:100%}.profile-actions>*{flex:1}.profile-actions button,.profile-actions .profile-button{width:100%;min-height:42px;font-size:11px;padding:10px 12px}.profile-identity-shell{padding-bottom:12px}.profile-tabs{gap:22px}.profile-tabs a{font-size:11px;padding:17px 0}.profile-redesign .public-shell{padding-top:26px}.profile-redesign .profile-nav-shell{padding-top:0}.profile-redesign .public-card h2{font-size:20px}.profile-redesign .public-content>.public-card{padding-bottom:24px}.profile-redesign .public-aside{grid-template-columns:1fr}.profile-gallery{grid-template-columns:1fr;gap:22px}.profile-gallery--company{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.profile-gallery--company figure:last-child:nth-child(odd){grid-column:1/-1}.profile-gallery--company figure:last-child:nth-child(odd) img{aspect-ratio:16/9}.profile-redesign .public-vacancies>a{grid-template-columns:minmax(0,1fr) 28px;padding:18px 0}.profile-redesign .public-vacancies b{grid-column:1}.profile-redesign .public-vacancies i{grid-column:2;grid-row:1/3}.profile-redesign .portfolio-cta{padding:25px;align-items:flex-start;flex-direction:column;margin-top:28px}.profile-redesign .portfolio-cta h2{font-size:22px}.profile-redesign .portfolio-cta a{white-space:normal;width:100%;text-align:center}}
@media(prefers-reduced-motion:reduce){.profile-redesign *{transition:none!important;scroll-behavior:auto!important}}