
:root{--green:#35a3aa;--deep:#177d85;--red:#e52e43;--orange:#f5a313;--black:#18232b;--line:#e3e8e7;--muted:#526168}*{box-sizing:border-box}body{margin:0;background:#f2f5f4;color:var(--black);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5}main{padding:48px 24px}.card{max-width:900px;margin:auto;position:relative;overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:0 18px 65px #18232b0b}.card:before{content:"";display:block;height:5px;background:linear-gradient(90deg,var(--red) 0 25%,var(--green) 25% 50%,var(--orange) 50% 75%,var(--black) 75%)}header{display:flex;justify-content:space-between;align-items:center;padding:28px 36px;border-bottom:1px solid var(--line);gap:20px}header span{font-size:.875rem;color:var(--muted);max-width:200px;text-align:right}.logo{width:166px;height:auto;object-fit:contain}.profile{display:grid;grid-template-columns:240px minmax(0,1fr);gap:38px;align-items:center;padding:40px 36px}.portrait{height:300px;overflow:hidden;border-radius:10px;background:#fff;position:relative;align-self:center;border-bottom:5px solid var(--orange)}.portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 16%;display:block}.identity{min-width:0}.eyebrow{font-size:.875rem;color:var(--deep);font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:0 0 10px}h1{font-size:clamp(2rem,4.5vw,2.9rem);line-height:1.1;letter-spacing:-.045em;margin:0 0 15px}h2{font-size:1.4rem;line-height:1.25;margin:0}.role{font-weight:bold;font-size:1.125rem;margin:0}.company{margin:2px 0;color:var(--muted)}.intro{max-width:380px;margin:18px 0;color:var(--muted)}a{color:var(--deep);text-underline-offset:4px}a:focus-visible{outline:3px solid var(--orange);outline-offset:4px}.actions{display:flex;gap:10px;margin:20px 0 12px;flex-wrap:wrap}.actions a{padding:11px 18px;border:1px solid var(--black);border-radius:6px;text-decoration:none;font-weight:bold;color:var(--black);min-height:46px;display:inline-flex;align-items:center;justify-content:center}.actions .primary{background:var(--black);color:#fff}.actions a:hover{box-shadow:0 0 0 2px var(--green)}.phone,.email{display:block;overflow-wrap:anywhere}.phone{font-weight:700}.email{margin-top:4px}.save{display:inline-block;margin-top:14px;font-size:.875rem;font-weight:700}.resources{padding:30px 36px 36px;background:#fbfcfc;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:12px}.resources>div:first-child{grid-column:1/-1;margin-bottom:10px}.resource{display:block;padding:18px 20px;border:1px solid var(--line);border-left:4px solid var(--green);background:#fff;border-radius:7px;text-decoration:none;color:var(--black);transition:background .15s}.resource:nth-of-type(2){border-left-color:var(--black)}.resource:nth-of-type(3){border-left-color:var(--red)}.resource:nth-of-type(4){border-left-color:var(--orange)}.resource strong,.resource span{display:block}.resource span{font-size:.875rem;color:var(--muted);margin-top:3px}.resource:hover{background:#eef6f5}.resource strong{font-size:1rem}footer{padding:24px 36px;border-top:1px solid var(--line);font-size:.875rem;line-height:1.65;color:var(--muted)}footer p{margin:0 0 12px}footer p:last-child{margin:0}@media(max-width:660px){main{padding:16px 12px}.card{border-radius:12px}header{padding:22px}.logo{width:143px}header span{max-width:132px;font-size:.875rem}.profile{grid-template-columns:110px minmax(0,1fr);gap:18px;padding:28px 22px;align-items:start}.portrait{height:145px;margin-top:3px;align-self:start;border-bottom-width:4px}.portrait img{object-position:50% 12%}.eyebrow{font-size:.875rem;letter-spacing:.03em}h1{font-size:2rem}.identity .intro,.identity .actions,.identity .phone,.identity .email,.identity .save{position:relative}.profile{display:block}.portrait{float:right;width:108px;margin:0 0 18px 16px}.identity:after{content:"";display:block;clear:both}.intro{clear:both;padding-top:12px;margin-bottom:18px}.actions a{flex:1}.resources{padding:26px 22px;grid-template-columns:1fr}footer{padding:22px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Referral message and compact identity spacing. */
h1{margin-bottom:20px}.referral{max-width:430px;margin:0 0 22px}.referral strong{display:block;color:var(--black);font-size:1.125rem;margin-bottom:6px}.profile{padding-top:34px;padding-bottom:34px}@media(max-width:660px){.profile{padding-top:28px;padding-bottom:28px}.identity h1{min-height:145px;margin-bottom:0}.referral{padding-top:20px;margin-bottom:20px}}

/* Restored professional identity. */
h1{margin-bottom:14px}.company{margin-bottom:20px}@media(max-width:660px){.identity h1{min-height:0;margin-bottom:14px}.identity .role,.identity .company{max-width:190px}.referral{clear:both;padding-top:24px}}

/* Three ordered resources with balanced row sizing. */
.resources{grid-template-columns:repeat(3,minmax(0,1fr))}.resource{min-width:0}.resource.resource-aura{border-left-color:var(--green)}.resource.resource-foundation{border-left-color:var(--red)}.resource.resource-savings{border-left-color:var(--orange)}.resource span{overflow-wrap:anywhere}@media(max-width:760px){.resources{grid-template-columns:1fr}}

@media(max-width:380px){.portrait{float:none;width:112px;height:145px;margin:0 0 22px}.identity .role,.identity .company{max-width:none}.referral{padding-top:0}.actions a{padding-inline:10px;font-size:.9375rem;white-space:nowrap}header{padding:20px 18px}.logo{width:128px}header span{font-size:.875rem}}

header span{max-width:none;white-space:nowrap}@media(max-width:660px){header{flex-wrap:wrap;gap:14px}header span{width:100%;text-align:left;font-size:.875rem}}

/* Keep all personal details together beside the portrait. */
.profile{row-gap:28px;align-items:center}.identity-contacts{margin-top:18px}.identity .company{margin-bottom:0}.identity .phone{font-size:1.125rem}.identity .email{margin-top:6px}.identity .save{margin-top:12px}.referral-section{grid-column:1/-1;padding-top:26px;border-top:1px solid var(--line)}.referral-section .referral{max-width:660px;margin:0}.referral-section .actions{margin:20px 0 0}.referral-section .referral strong{margin-bottom:7px}@media(max-width:660px){.profile{display:flow-root}.identity:after{display:none}.identity-contacts{clear:both;padding-top:16px;margin-top:0}.referral-section{clear:both;margin-top:24px;padding-top:24px}.referral-section .referral{padding-top:0}.identity .role,.identity .company{max-width:190px}}@media(max-width:380px){.identity .role,.identity .company{max-width:none}.identity-contacts{padding-top:16px}}

/* Align mobile identity and contacts against a larger portrait. */
.profile{grid-template-columns:260px minmax(0,1fr);gap:30px 34px}.portrait{height:320px}h1{font-size:clamp(1.75rem,3.8vw,2.55rem)}
@media(min-width:381px) and (max-width:660px){.profile{display:grid;grid-template-columns:minmax(0,1fr) 126px;column-gap:16px;row-gap:24px;align-items:start;padding:26px 20px}.portrait{grid-column:2;grid-row:1;float:none;width:126px;height:252px;margin:0;align-self:start}.portrait img{object-position:50% 12%}.identity{grid-column:1;grid-row:1}.identity h1{font-size:1.75rem;line-height:1.12;margin-bottom:12px}.identity .role{font-size:1rem;line-height:1.4}.identity .company{font-size:.9375rem;line-height:1.4;margin-top:4px}.identity .role,.identity .company{max-width:none}.identity-contacts{clear:none;padding-top:0;margin-top:16px}.identity .phone{font-size:1rem}.identity .email{font-size:.9375rem;overflow-wrap:anywhere;line-height:1.4}.identity .save{font-size:.875rem;margin-top:12px}.referral-section{grid-column:1/-1;margin-top:0;padding-top:24px}.identity:after{display:none}}
@media(max-width:380px){.profile{display:grid;grid-template-columns:minmax(0,1fr) 100px;column-gap:12px;row-gap:22px;padding:24px 18px;align-items:start}.portrait{grid-column:2;grid-row:1;width:100px;height:250px;margin:0;float:none;align-self:start}.identity{grid-column:1;grid-row:1}.identity h1{font-size:1.5rem;line-height:1.12;margin-bottom:12px}.identity .role{font-size:.9375rem;line-height:1.4}.identity .company{font-size:.875rem;margin-top:4px}.identity-contacts{padding-top:0;clear:none;margin-top:14px}.identity .phone{font-size:1rem}.identity .email{font-size:.875rem;line-height:1.4;overflow-wrap:anywhere}.identity .save{font-size:.875rem}.referral-section{grid-column:1/-1;margin-top:0;padding-top:22px}}

@media(max-width:660px){.identity h1{max-width:180px}.identity .email{overflow-wrap:normal;word-break:normal}}

/* Preserve the entire approved portrait instead of cropping arms/jacket. */
.portrait{height:auto;aspect-ratio:1371/1147;align-self:center;background:#fff}.portrait img{width:100%;height:auto;object-fit:contain;object-position:center;display:block}
@media(max-width:660px){.portrait{height:auto;aspect-ratio:1371/1147;align-self:center}.portrait img{height:auto;object-fit:contain;object-position:center}}

.profile{grid-template-columns:330px minmax(0,1fr)}@media(max-width:760px){.profile{display:grid;grid-template-columns:1fr;row-gap:24px}.portrait{grid-column:1;grid-row:1;width:100%;max-width:320px;height:auto;margin:0 auto;justify-self:center}.identity{grid-column:1;grid-row:2}.identity h1{max-width:none}.identity .role,.identity .company{max-width:none}.referral-section{grid-column:1;grid-row:3}.identity .email{overflow-wrap:anywhere}.identity-contacts{margin-top:16px}}
