
.profile-page{background:#f5f2eb}
.profile-hero{width:min(calc(100% - 48px),var(--max));margin:78px auto 76px;display:grid;grid-template-columns:1.08fr .72fr;gap:70px;align-items:end}
.profile-hero-copy h1{margin:0;display:grid;gap:22px;font-family:var(--display);font-size:clamp(58px,7vw,104px);line-height:.91;letter-spacing:-.065em}
.profile-hero-copy h1 small{display:block;max-width:760px;font-family:var(--font-serif,Georgia,serif);font-size:clamp(30px,3.5vw,50px);font-style:italic;font-weight:400;line-height:1.06;letter-spacing:-.035em;color:var(--blue)}
.profile-lead{max-width:720px;margin:30px 0 0;font-size:clamp(19px,2vw,25px);line-height:1.45;color:#44484e}
.profile-config-warning{display:inline-block;margin:0 0 22px;padding:9px 12px;border:1px solid #d8b435;background:#fff4bf;font-size:13px;font-weight:800}
.profile-config-warning code,.profile-contact-panel code{font-size:.92em}
.profile-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:34px}
.profile-status{display:flex;flex-wrap:wrap;gap:0;margin-top:42px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.profile-status span{padding:13px 18px 13px 0;font-size:13px;font-weight:800}
.profile-status span+span{padding-left:18px;border-left:1px solid var(--line)}
.profile-focus-card{padding:38px;background:var(--ink);color:#fff;border-radius:18px}
.profile-focus-card>span{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--mint);font-weight:900}
.profile-focus-card h2{margin:26px 0 18px;font-family:var(--font-serif,Georgia,serif);font-size:clamp(36px,4vw,54px);font-weight:400;font-style:italic;line-height:1.03}
.profile-focus-card p{color:rgba(255,255,255,.72)}
.profile-focus-card ul{list-style:none;padding:20px 0 0;margin:26px 0 0;border-top:1px solid rgba(255,255,255,.2)}
.profile-focus-card li{padding:10px 0;border-bottom:1px solid rgba(255,255,255,.14);font-size:14px;font-weight:800}
.profile-proof{display:grid;grid-template-columns:repeat(4,1fr);width:min(calc(100% - 48px),var(--max));margin:0 auto 38px;border:1px solid var(--line);background:#fff}
.profile-proof div{min-height:130px;display:flex;flex-direction:column;justify-content:space-between;padding:24px}
.profile-proof div+div{border-left:1px solid var(--line)}
.profile-proof strong{font-family:var(--display);font-size:27px;letter-spacing:-.04em}
.profile-proof span{font-size:13px;color:var(--muted)}
.profile-skill-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;margin-top:55px;border:1px solid var(--line);background:var(--line)}
.profile-skill-grid article{min-height:360px;padding:32px;background:#fff}
.profile-skill-grid article>span{font-size:12px;font-weight:900;color:var(--blue)}
.profile-skill-grid h3{margin:72px 0 15px;font-family:var(--display);font-size:clamp(30px,3vw,45px);letter-spacing:-.04em}
.profile-skill-grid p{max-width:500px;color:var(--muted)}
.profile-skill-grid article>div{display:flex;flex-wrap:wrap;gap:8px;margin-top:30px}
.profile-skill-grid em{padding:7px 11px;border:1px solid var(--line);font-size:11px;font-style:normal;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.profile-selected-work{padding:126px max(24px,calc((100vw - var(--max))/2));background:var(--ink);color:#fff}
.profile-selected-work>header{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:54px}
.profile-selected-work h2{max-width:760px;margin:0;font-family:var(--display);font-size:clamp(48px,6vw,82px);line-height:.97;letter-spacing:-.06em}
.profile-selected-work .eyebrow{color:var(--mint)}
.profile-projects{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.18)}
.profile-projects article{background:#202226}
.profile-projects article>a{display:block;overflow:hidden;aspect-ratio:4/3}
.profile-projects img{width:100%;height:100%;object-fit:cover;transition:transform .35s}
.profile-projects article:hover img{transform:scale(1.025)}
.profile-projects article>div{padding:26px}
.profile-projects span{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:var(--mint);font-weight:900}
.profile-projects h3{margin:18px 0 10px;font-family:var(--display);font-size:29px;letter-spacing:-.04em}
.profile-projects p{min-height:85px;color:rgba(255,255,255,.68);font-size:14px}
.profile-projects article>div>a{font-size:13px;font-weight:900;text-decoration-thickness:1px;text-underline-offset:5px}
.profile-method ol{list-style:none;padding:0;margin:52px 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:1px;border:1px solid var(--line);background:var(--line)}
.profile-method li{min-height:290px;padding:28px;background:#fff}
.profile-method strong{font-size:12px;color:var(--blue)}
.profile-method h3{margin:90px 0 10px;font-family:var(--display);font-size:26px;letter-spacing:-.035em}
.profile-method p{margin:0;color:var(--muted);font-size:15px}
.profile-team-fit{display:grid;grid-template-columns:.75fr 1.25fr;gap:80px;padding:126px max(24px,calc((100vw - var(--max))/2));background:var(--blue);color:#fff}
.profile-team-fit .eyebrow{color:var(--yellow)}
.profile-team-fit h2{margin:0;font-family:var(--display);font-size:clamp(45px,5vw,72px);line-height:.98;letter-spacing:-.055em}
.profile-team-fit>div>p:not(.eyebrow){color:rgba(255,255,255,.75);font-size:18px}
.profile-role-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:rgba(255,255,255,.22);border:1px solid rgba(255,255,255,.22)}
.profile-role-grid article{min-height:210px;padding:27px;background:var(--blue)}
.profile-role-grid h3{margin:0 0 55px;font-family:var(--display);font-size:23px;letter-spacing:-.03em}
.profile-role-grid p{margin:0;color:rgba(255,255,255,.72);font-size:14px}
.profile-contact{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;padding:126px max(24px,calc((100vw - var(--max))/2));background:var(--surface-2,#ece7dd)}
.profile-contact h2{margin:0;font-family:var(--display);font-size:clamp(46px,5.4vw,76px);line-height:.98;letter-spacing:-.055em}
.profile-contact>div>p:not(.eyebrow){max-width:560px;color:var(--muted)}
.profile-contact-panel{align-self:start;display:grid;border-top:1px solid var(--ink)}
.profile-contact-panel a,.profile-contact-panel p{margin:0;padding:19px 2px;border-bottom:1px solid var(--line)}
.profile-contact-panel a{display:flex;justify-content:space-between;text-decoration:none;font-weight:900}
.profile-contact-panel a::after{content:"↗"}
.profile-contact-panel a[hidden]{display:none}
.profile-contact-panel p{color:var(--muted);font-size:14px}
@media(max-width:1050px){
  .profile-hero,.profile-team-fit,.profile-contact{grid-template-columns:1fr}
  .profile-proof{grid-template-columns:repeat(2,1fr)}
  .profile-proof div:nth-child(3){border-left:0;border-top:1px solid var(--line)}
  .profile-proof div:nth-child(4){border-top:1px solid var(--line)}
  .profile-projects{grid-template-columns:1fr}
  .profile-projects article{display:grid;grid-template-columns:.9fr 1.1fr}
  .profile-projects article>a{aspect-ratio:auto;min-height:320px}
  .profile-method ol{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:720px){
  .profile-hero,.profile-proof{width:calc(100% - 28px)}
  .profile-hero{margin-top:44px;gap:38px}
  .profile-hero-copy h1{font-size:clamp(43px,13vw,61px)}
  .profile-hero-copy h1 small{font-size:29px}
  .profile-focus-card{padding:28px 24px}
  .profile-proof{grid-template-columns:1fr}
  .profile-proof div+div,.profile-proof div:nth-child(3),.profile-proof div:nth-child(4){border-left:0;border-top:1px solid var(--line)}
  .profile-skill-grid{grid-template-columns:1fr}
  .profile-skill-grid article{min-height:auto}
  .profile-skill-grid h3{margin-top:50px}
  .profile-selected-work,.profile-team-fit,.profile-contact{padding-block:88px}
  .profile-selected-work>header{align-items:flex-start;flex-direction:column}
  .profile-projects article{display:block}
  .profile-projects article>a{min-height:260px}
  .profile-projects p{min-height:auto}
  .profile-method ol,.profile-role-grid{grid-template-columns:1fr}
  .profile-method li{min-height:230px}
  .profile-method h3{margin-top:60px}
  .profile-status{display:grid}
  .profile-status span+span{padding-left:0;border-left:0;border-top:1px solid var(--line)}
}

.profile-config-warning{display:inline-flex;max-width:max-content;align-items:center;min-height:32px;padding:7px 10px;border:1px solid var(--line);background:transparent;color:var(--muted);font-size:11px;letter-spacing:.08em;text-transform:uppercase}
.profile-config-warning code{display:none}

.profile-projects article>div>a{min-height:44px;display:inline-flex;align-items:center}

.profile-skill-grid article>a{display:inline-flex;align-items:center;min-height:44px;margin-top:20px;font-weight:800;text-decoration-thickness:1px;text-underline-offset:4px}

/* Contrast correction. */
.profile-team-fit .eyebrow{color:#fff}
.profile-contact .eyebrow{color:#2f55e7}
.profile-contact>div>p:not(.eyebrow),.profile-contact-panel p{color:#5b605b}

/* Avoid an oversized empty panel before contact channels are configured. */
.profile-contact:has([data-empty-contact]:not([hidden])){padding-block:88px}
.profile-contact:has([data-empty-contact]:not([hidden])) .profile-contact-panel{align-self:center}
@media(max-width:720px){
  .profile-contact:has([data-empty-contact]:not([hidden])){padding-block:72px}
}
